Forums / Setup & design / How to add a new content/view/new_ways_of_viewing/NODE?
Jorge estévez
Wednesday 07 October 2009 5:13:28 am
I need to add a new content/view/myline/123
I added the new view/myline in override.ini of my siteaccess and it works, but I noticed that the contents generated when I access the new view does not get cached once I activate viewcache template cache etc. All the site gets cached and works fast.
I must be doing things wrong...
Is there any documentation, forum debate on how to add more content/view/new_ways_of_viewing/NODE
thanks
Diseño Web Cuba Web Design Cuba www.elfosdesign.com
Marco Zinn
Wednesday 07 October 2009 10:05:54 am
Hi Jorge, i'm not sure, if i got you right. But it seems to me as you wanted to create a new "viewmode" for your nodes. So, in addition to "full", "line" etc, you want a new one.I think, this can be done without overriding. "Just" create a template in the right directory of your design directory. If you want to have a clean solution, create a design extension for this!
Maybe these links will help you: http://ez.no/doc/ez_publish/technical_manual/3_10/templates/template_basics/node_templates (ez 3.x doc, but in the 4.x doc, the images seem to be broken) http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_functions/visualization/node_view_guihttp://ez.no/doc/ez_publish/technical_manual/4_x/features/view_caching
Let us know, if this is the right direction.
Marco http://www.hyperroad-design.com