Hello everyone.
I want to display more than one value in my menu.
-I made a copy of Wayfinder snippet and changed its name to testmenu.
-In new snippet I changed this: ’textOfLinks’ => isset($textOfLinks) ? $textOfLinks : ’published’,
-Then I called snippet from my template with: [[testmenu? &startId=`170`]]
This works well.
Now I want to show published, menutitle and description in menu. How to do that?
Sorry for my bad english.
-
☆ A M B ☆
- 24,524 Posts
You can do all of that using the rowTpl and the Wayfinder field placeholders, such as [+wf.menutitle+] and [+wf.description+]. As far as the "published" field, unless you’re satisfied with 0 or 1, you would need to use phx or some other way of modifying the actual value of the ’published’ field.