Share » Forums » General » Features for magazine publication

Features for magazine publication

Features for magazine publication

Wednesday 01 August 2007 5:04:51 pm - 1 reply

Author Message

Thiago Campos Viana

Wednesday 01 August 2007 6:23:34 pm

yes it is possible. just create a folder for each issue. change the template of the parent node of the issues folder to fetch the latest published node and display the attributes of this node.

you will have to learn about the ez template system, and then do something like:

go to the admin interface->design->templates->node/view/full
create a new override to the node you want to show the latest issue.
change the priorite of the override to 0 and update priorities.

it'll be necessary to write something like this to fecth the latest issue:

{def $lastissue=fetch( 'content', 'list', hash(
'parent_node_id', 69,
'limit',1,
'sort_by', array( 'published', false() )
)
)
}

to display the attributes:

{attribute_view_gui attribute=$lastissue[0].data_map.issue_attribute}

it is just example... you have to learn, or your programmers, the ez templates systems to do this and a lot more!

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

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

36 542 Users on board!

Forums menu