is it possible to create more than one view for same object?

is it possible to create more than one view for same object?

Monday 05 July 2004 4:39:10 pm - 1 reply

Modified on Monday 05 July 2004 4:41:11 pm by Tofig Hamidov

Author Message

Paul Borgermans

Monday 12 July 2004 12:30:45 pm

I hope you already found this out, but yes it can fairly easily be done.

One way is to create new viewmodes (other than full, line, ..) by creating a new template in the <b>/design/<yourdesign>/templates/node/view</b> directory. You can then also use overrides on this new "view mode".

Another way is to use userdefined parameters, eg

http://www.example.com/content/view/full/(fullmonth)/yes

and use the value set in $view_parameters.fullmonth to change the template logic accordingly.

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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

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