Why does the following appear in a new site design

Author Message

RW Wood

Monday 15 September 2003 8:32:11 am

"Default object view. Click to create a custom template"
followed by the content folder's name, description and buttons saying "preview", "remove", "add to bookmarks", and "notify me about updates"

I've tried to figure if something is not right in the site.ini.append but have gotten nowhere.

Thanks.
RWW

Thomas Brandl

Monday 15 September 2003 8:47:42 am

Everythings fine :)
You haven't defined a override template for that class yet, you are viewing.

Tipp: Go to settings/siteaccess/<your_design>/site.ini.append(.php) and edit or add
[TemplateSettings]
Debug=enabled

This will print out all template filenames the system is using. Somewhere there, you'll find /design/standard/templates/node/view/full.tpl, this is the template you're describing.

Check this out for some more info:
http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates

cheers
t

RW Wood

Monday 15 September 2003 10:35:55 am

What if I want the "standard" full.tpl used? I have my site.ini.append file for that particular site design set so that StandardDesign is another design on my site. That design has the necessary full.tpl file, but it's not being used. Other than a few specific ones, debug shows all of the .tpl files being used including full.tpl, as coming from the standard site design, and that's the way I want it. I don't want to have a copy of all the .tpl files for every design. That's my understanding of the way the override system should work.

Following is what I have in the design that's showing the "error"

[DesignSettings]
# The standard design, is used as fallback design
# if the element is not in the sitedesign
StandardDesign=ggila
SiteDesign=argentina

argentina shows the error
ggila has all the template files that argentina doesn't

It appears that the fallback isn't working.

For what it's worth, this is set up on a Win2k machine.

Thanks for further suggestions.
RWW

Other ideas?
Thanks.
RWW

RW Wood

Tuesday 16 September 2003 10:13:47 am

Before this gets too buried in the list, are there any other suggestions than putting all files in every site design?

Thanks.
RWW

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