You know I <i>was</i> messing around with the object of the node figuring the answer lay there but I was trying to use class_id or something.
Also I was trying to use the attribute operator which I couldn't get to work last night but is working now, for some reason and would have solved my dilemma. One thing that isn't working however, is when I try to do
{$node.object|attribute("show_values")}
I've tried with and without quotes around the 'show_values' but to no avail- I just get the listing of attributes and not their values.
Also I wonder why I couldn't find the answer to my solution in existing documentation or forums: are the properties of objects documented somewhere on this website?
__________________________________
Randeep Walia is http://www.rundeep.net powered by EZ Publish
"show_values" doesn't exist as a valid option. That seems to be quite misleading in the documentation, but the explanation does mention the correct value for the first parameter. The most common form is:
{$node.object|attribute(show)}
I don't know if a list of properties of objects is documented. I know the most important ones by heart because I started back when there was no documentation at all (at least not for developers). If I want to know the properties of objects, I just look the PHP file of the class.