Object relations Datatype

Author Message

Sirvash Sharma

Friday 14 April 2006 7:30:27 am

Hi
I have created two classes. 1- course 2- subject. and for relation between two classes.
I am using the object relations datatype for identifier(subject). I wanna fetch the all subject name in course but whenever use this code.

{$node|attribute(show)}

No attribute shows. i have try more code but there is no value display about Attribute, type etc.Ex.

{$node.data_map.subject|attribute(show)}
{$node.data_map.subject.content|wash()}


Please suggest me about this problem.
Thanks & Regards

 

Eirik Alfstad Johansen

Monday 01 May 2006 10:37:00 pm

Hi Sirvash,

In which template are you placing this example code?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.