Is it possible to create a TV and use Ditto as the data source?
If not, what I want to do is allow my managers, to create pages, which where an individual page would be called via drop down menu on another page.
For example, We are creating a page where the *content* of the template would be an article. In the side bar would be a related item, like a recipe.
I’d like for the content creator to choose the related item from the template variable list.
Thanks
Rich
Try using a chunk instead, chunks can be executed, unlike a TV
So I place the Ditto call in a chunk - do I reference the chunk in a TV?
The list output is not to be displayed in the front-end, maybe I should have clarified.
The drop list is to be used in the manager.
Thanks
Rich
you just execute the chunk from the page;
{{chunk_here}}
Let me see if I can explain this differently.
I want to create a template variable which generates a drop menu of documents starting from particular container.
From the manager, I would choose a page from that list, which would be used to output that page id to the page content.
If this is confusing, I apologize - I may have explained what I initially wanted incorrect.
Thanks
Rich
This is what I am looking for.
I ended up not needing the Ditto call in the EVAL after all, since I only need to the TV to return the document id - I just out put the value of $row[’id’] to the value of the option.
So from a snippet, I’ll look up the document id.
Thanks for the help on this one.
Rich