Blog Sections Open
Passing Resource IDs Through a TV into Ditto
How to store a list of resource IDs in a TV and feed that list directly into Ditto for controlled cross-template output.
A useful Evolution CMS pattern is to keep a hand-picked list of related resources in a TV, then pass those IDs straight into Ditto. This works well when one template needs to surface content chosen from another section or another template family.
Store the IDs in the TV
12,34,57,81
Then use that TV directly in the Ditto call:
[!Ditto?
&documents=`[*related_items*]`
&tpl=`yourTpl`
!]
This is especially helpful when a resource in template A should surface selected resources managed under template B.
Making Wayfinder Expand the Active Menu Branch
Why an accordion menu can fail to open the current branch when visitors arrive from internal links, and how to make Wayfinder output the right active classes.
Reading TV Values from Another Resource in Evolution CMS
Several reliable ways to pull TV data from a known resource and reuse it in the current template without duplicating content manually.