Forums / Setup & design / Why does the following appear in a new site design

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

eZ debug

Timing: Jan 31 2025 06:02:03
Script start
Timing: Jan 31 2025 06:02:03
Module start 'content'
Timing: Jan 31 2025 06:02:03
Module end 'content'
Timing: Jan 31 2025 06:02:03
Script end

Main resources:

Total runtime0.2936 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0781180.8125
Module start 'content' 0.00590.0079 768.890693.8203
Module end 'content' 0.01380.2797 862.7109522.3750
Script end 0.2935  1,385.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.1591200.0002
Check MTime0.00130.4577200.0001
Mysql Total
Database connection0.00050.186010.0005
Mysqli_queries0.240181.75981410.0017
Looping result0.00130.43301390.0000
Template Total0.279295.110.2792
Template load0.00090.305810.0009
Template processing0.278394.798110.2783
Override
Cache load0.00060.203310.0006
Sytem overhead
Fetch class attribute can translate value0.00070.233710.0007
XML
Image XML parsing0.00020.080710.0002
General
dbfile0.01314.4564200.0007
String conversion0.00000.001830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs