Jan Lentfer wrote:
This is a different question, but....
...can I also add the name of an object in the brackets? Like, when I want to get the values of a certain object in that folder only.
e.g.:
<dtml-in "sub.objectValues(name_of_object)"> </dtml-in>
I'm not sure what you mean. I think you're asking how to see name_of_object which is in a folder called sub. You don't need <dtml-in> for that. Try this: <dtml-var "sub.name_of_object"> Or if you just want to print, say, the title of that object... <dtml-var "sub.name_of_object.title"> Remember that the stuff in quotes is python. It's a good idea to learn the very basics of python or you'll be confused by this stuff.
or
<dtml-in "sub.objectValues(<dtml-var object_name)> </dtml-in>
This would be a syntax error. You can't put <dtml-var> inside a python expression. -- ................... paul winkler .................... custom calendars & printing: http://www.calendargalaxy.com A member of ARMS: http://www.reacharms.com home page: http://www.slinkp.com