Standard templates not used when no override exists

Author Message

Phil Rennie

Friday 16 April 2004 9:27:57 am

I've been following the very useful and helpful tutorial http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site (although I'm slightly miffed that as a newbie I had to spend 30mins in the forums just to find it) and I'm having a real problem with the standard templates although all my overrides and self made templates are fine.
As an example once I get to http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/the_input_template and test it without adding my own input template, although I should be seeing the standard template all I get is the header, then menu (news members etc) and then the footer, all content in the main content area is missing.
I've skipped the tutorial on a bit and created a folder under the root node called links and stuck a couple of subfolders in it, when I go to mysite.com/index.php/tscm/links debug shows a warning:eztemplate 'no template could be found for "node/view/full.tpl" using resource design'.

It's really annoying me, becuase whilst it's all fine once I've set up new templates and overrides I really dislike the fact that underneath is a problem I have no solution for.

Any ideas as to where I should be looking to get this sorted?

Ez 3.3 - Apache 1.3.24 - php 4.3.0 - mysql 3.23.49 on xp pro.

Lazaro Ferreira

Friday 16 April 2004 10:06:05 am

Hi,

It seems like you have overrided the folder templates at your override.ini.append settings
but EZP fails opening the override for whatever reason (a cache uncleaned , or a bad definition of the override)

Have you checked up both ?

 

Lazaro
http://www.mzbusiness.com

Phil Rennie

Friday 16 April 2004 10:42:45 am

Hi, cheers for the timely answer, thought I'd have to wait until after the weekend.

I've got the caching turned off in site.ini.append, and I've cleared them manually to be sure, and still have the same problem.
I don't think it's a problem opening the overrides becuase overrides I've created work, it's that I'm not getting the standard templates for folders when there are no overrides set.

i.e. I have a folder under the root called links with 2 subfolders, if I go to blah.com/index.php/tscm/links I get no dynamic content when I should get content using the standard node/view/full.tpl shouldn't I?

I don't think I've overriden the standard templates sitewide only those for particular classes/sections, and I know that the server has correct access to all the files.

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

eZ debug

Timing: Jan 19 2025 13:55:49
Script start
Timing: Jan 19 2025 13:55:49
Module start 'layout'
Timing: Jan 19 2025 13:55:49
Module start 'content'
Timing: Jan 19 2025 13:55:49
Module end 'content'
Timing: Jan 19 2025 13:55:49
Script end

Main resources:

Total runtime0.0135 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 590.8281152.6563
Module start 'layout' 0.00490.0025 743.484439.4922
Module start 'content' 0.00730.0042 782.976689.2422
Module end 'content' 0.01160.0019 872.218834.3047
Script end 0.0135  906.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002518.5305140.0002
Check MTime0.00118.0443140.0001
Mysql Total
Database connection0.00096.964410.0009
Mysqli_queries0.002015.031630.0007
Looping result0.00000.088210.0000
Template Total0.001511.310.0015
Template load0.00085.986910.0008
Template processing0.00075.247610.0007
Override
Cache load0.00054.054810.0005
General
dbfile0.00021.644580.0000
String conversion0.00000.051240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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