Sunday 10 July 2005 1:28:37 am
Hi Aleksander :) To see all attributes of an object, use the attribute(show) function, like this:
{$Child:item|attribute(show)}
If you for example want to access the authors name, it's probably shown like this
> Item
>> Object
>>> owner >>>> Name To use it in a template you use
{$Child:item.object.owner.name}
Look for the other attributes, and use it in the same way. If you need to see further down in the attribute tree, adjust the depth like this:
{$Child:item|attribute(show,5)}
Where 5 is the depth in this example. But in my experience, going deeper than 4 usually crashes eZ. Hope this helps :)
|