[!Ditto? &startID=`12` &tpl=`blogTemplate` &summarize=`10` &paginate=`1` &filter=`tvworkTags,print,1` !]
[!Ditto? &startID=`12` &tpl=`blogTemplate` &summarize=`10` &paginate=`1` &filter=`tvworkTags,web,!=` !]
@simon79: First off, there is no parameter increment and second your &filter should look like this:
&filter=`tvFilter,MPC,!=`
It’s not supposed to be http://inkwire.net/work/work/portfolio/test_web_brand.html (note the doubled work/work). I deleted the extra work and it goes where expected. It’s going to the home page because that’s the setting for page-not-found errors.
<div class="blogFormat">
<p class="blogHeader"><a href="[~[+id+]~]"><strong>[+title+]</strong> </a></p>
<p>[+summary+] </p>
<!--<span class="blogAuthor">[+author+]</span>-->
</div><a href="[~[+id+]~]"><strong>[+title+]</strong> </a><br /><br /> <p>[+description+] </p> <span class="blogAuthor"><a href="[~[+id+]~]"><strong>Read more...</strong> </a></span>
ok - for the TV i kept it as a multi-select list with 3 options, added the Delimited List widget and selected a comma as the delimiter. i changed the call to add &tagDelimiter:
@arphaus : You need to deliminate the output coming from the TV in some way. Right now it is just gobbling together whever checkbox’s you have checked. Use the delimited list widget with a common deliminator and then set &tagDelimiter with that value. Alternatively you could just append a comma and then a space after each value in the checkbox to do the same thing.
Secondly, You can only use <=, !=, etc when running the snippet via $modx->runSnippet. You need to use 1-6 to trigger those modes. There is a table I wrote floating around the forums with what goes with what.
[!Ditto? &startID=`12` &tpl=`blogTemplate` &summarize=`10` &paginate=`1` &filter=`tvworkTags,web,6` &tagDelimiter=`,` !]
both templates are above. i notice on http://inkwire.net/work/print that both Ditto entries there have the extra ’work’ in the url which is causing the problem. what should i be using instead of [~[+id+]~]?
Lastly, what Ditto tpl are you using for the page with SEF URL issues?
This discussion is closed to further replies. Keep calm and carry on.