Share » Forums » Setup & design » what is the difference between these...

what is the difference between these codes??

what is the difference between these codes??

Tuesday 21 December 2004 6:17:33 pm - 2 replies

Modified on Tuesday 21 December 2004 9:48:06 pm by eve f

Author Message

Kristian Hole

Wednesday 22 December 2004 12:20:00 am

The short answer is:
The first code takes the attributes title, image, intro and body (from the data_map) of a node, and displays them with attribute_view_gui

The second code fetches a number of nodes, and displays them with node_view_gui in lineview.

See:
http://ez.no/ez_publish/documentation/development/libraries/ez_template/functions/function_list

To combine these you probably want to create an override for the lineview of your class.

This is described in the "Building an eZ publish site" tutorial:
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_news_page/overview_of_the_latest_news

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

eve f

Wednesday 22 December 2004 6:12:41 pm

i try to use the 1st codes, but nothing is being display.

i use the 2nd codes, the display is ok, but the "read more" link does not work.

anyone can help me??!!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu