I’ve created a new template variable. Input type = dynamicly populated multi-select using this code:
@EVAL return substr($modx->runSnippet(’Ditto’, array("parents"=>"11","depth"=>"1","display"=>"all","showInMenuOnly"=>"0","sortBy"=>"pagetitle","sortDir"=>"ASC", "tpl"=>"@CODE ||[+pagetitle+]==[+id+]")), 2);
Output type = delimited list.
The objective is to create a list of pages that link to the new page. Ex: I’m posting a new page in Topic A called "News about Topic A". I want to include a list of other pages that link to "News about Topic A". I’m lost on the Ditto syntax for this.
How can I output the values of the delimited list as html links?
The thing I’m getting at is how to output the result set. Getting it works just fine. Outputting it is the hang-up.
Any thoughts?