Where to search?

Author Message

Mads Nordholm

Monday 21 February 2005 2:17:45 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 pages using pagelayout.tpl I do not get the output from my new body field.
It seems to me that getting the right output should be only a matter of changing a single variable in a template file but I can't figure out which one to edit. If anyone could possibly give me a hint as to which template to edit to control the output of calling {$module_result.content} in pagelayout.tpl I would greatly appreciate it.

Eivind Marienborg

Monday 21 February 2005 2:33:36 am

You have to create an override template for full.tpl. Tutorial: http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/the_welcome_page/creating_and_using_a_custom_template

Jason Weston

Friday 11 March 2005 2:07:15 pm

I've just run into the same problem. Can you tell me specifically how you solved your problem? I'm interested in files you may have changed, where they're located, and any other pertinent info you have on this.
Thanks!

Ulrich L.

Friday 11 March 2005 2:26:31 pm

Don't know wether I understand you fully... Do you mean the location
design/shop<in my case>/override/templates/full/article.tpl?

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