Templates

Author Message

Mads Nordholm

Wednesday 16 February 2005 1:54:17 am

I have changed the layout of the main article class through the admin area "Setup -> Classes -> Article". I have removed the body field which was an xmlarea and added a new body field which is a textarea. Now when I call my pages using the /content/view/full I do not get the output from my new body field.
Which template should I edit to get the output from this new field?

Ɓukasz Serwatka

Tuesday 01 March 2005 10:48:17 pm

Hi Mads,

You should edit article.tpl located in design/base/override/templates/full/ if you using base design.

Look for line and change body attribute to your new.

 {attribute_view_gui attribute=$node.object.data_map.body} 

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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