Saturday 07 January 2006 4:17:28 pm
My objects are organised like this:
Folder
|- Object 1
| -Object 2
|- Object 3
|- Object 4
:
|-Object n
and they are of the same class. I want to make right toolbar which shows some object attributes in right toolbar and some other attributes in the main content in the same time of the same object. My right toolbar I have set property "Show in subtree" to "Folder" (I don't know if it correct) I used the following code in my right toolbar template, and in the template which is in main content: {$node.object.data_map.MY_ATTRIB_N.contentclass_attribute.name|wash} Everything should look like this:
Main content:........................ Right toolbar:
Object1.MY_ATTRIB_1.......... Object1.MY_ATTRIB_4
Object1.MY_ATTRIB_2.......... Object1.MY_ATTRIB_5 Object1.MY_ATTRIB_3 I have the following trouble: The content (object attributes) shows first time when I visit the page. They shows both in the main content and in the right toolbar. But when I press "reload" button object attributes shows only in main content but not in the right toolbar. I tried to test $node.node_id value in the right toolbar after I pressed the reload button but there is no value. It shows only value when the whole page is visited the first time. I have some logical error but I can't find it. Any answer is appreciated
|