Forums / Developer / Display the content of a node

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Display the content of a node

Author Message

Mickel Scofield

Wednesday 21 March 2007 3:04:26 am

hi everybody,
i have created a class "agenda" with 2 attributes ( title and description ), and i have instanciate this class in the content menu,
what i want is how to display the content of this object in a template ?

thanks in advance

luca maroni

Sunday 25 March 2007 8:34:52 am

Hi Mickel,
I show them in a template in this way:

{$node.object.data_map.title.content.output.output_text}
{$node.object.data_map.description.content.output.output_text}

I'm quite new with Exponential and I don't know if it is the best way.
Bye bye
Luca

Sylvain Bannier

Monday 26 March 2007 1:25:23 am

Hi both,

You should rather use the "attribute_view_gui" function to display attributes.

http://www.smile.fr

Heath

Monday 26 March 2007 1:27:32 am

http://ezpedia.org/wiki/en/ez/attribute_view_gui

hth

7x | https://se7enx.com/
Brookins Consulting | https://brookinsconsulting.com/
Certified | http://web.archive.org/web/201012...th.ez.no/certification/verify/380350
Solutions | https://projects.exponential.earth/users/community/brookins-consulting
eZpedia community documentation project | http://ezpedia.se7enx.com