Custom Template (Again)

Author Message

Claudio Erba

Saturday 20 September 2003 9:02:20 am

Sorry for this new post about custom template but reading the previous one did'nt solve my problems.

I have created a link list, i click on the link and, before the link details i have the following message:

Default object view. Click here ....

Then the link details and then the buttons "edit", "delete" and more ...

If I create a new template nothing happen, i mean, I have a new template called link but the page is the same.

I found some files with the "Default object" message, i removed it but no way ...

Any help?
Claudio

RW Wood

Saturday 20 September 2003 1:05:58 pm

First turn on debugging in the site.ini.append file for your design

[DebugSettings]
DebugOutput=disabled
DebugByIP=enabled
Debug=inline
DebugRedirection=disabled

[TemplateSettings]
Debug=enabled
TemplateCache=disabled

Then make sure you clear the cache, and when you reload the page you'll see that the problem is with the full.tpl. The easiest way to fix the problem is to click on the edit button, then you'll be told you can't do that because you're not logged in. Log in with your admin credentials and save what shows as the default full.tpl in both the design/yourdesign/templates and the design/yourdesign/templates/node/ view directories and you should be all set.

See http://ez.no/developer/ez_publish_3/forum/setup_design/i_dont_want_a_custom_template#msg34534 for further info

HTH,
RWW

Claudio Erba

Sunday 21 September 2003 9:34:17 am

No way, i didn't find the "edit" function in my windows (I mean, in the position you suggest. So, I hope this would be helpful, i have created 5 screenshot for a "Newbie style" Visual approach ;-)

You can find here:

http://www.claudioerba.com/help/help.htm

Thanks for your help
Claudio

www.spaghettilearning.com
Open Source E-Learning Platform

RW Wood

Sunday 21 September 2003 6:25:50 pm

On the fourth from the top in your list of screenshots, type "full" (without the "") in the box for template name. Use "Copy of default template" and click "create". After it's created, check to see that there's a copy of it in the design/news/override/templates and the design/news/override/templates/node/view directories and you should be ok. Make sure you clear the cache and have the settings I gave you before in your site.ini.append file or you won't see the changes. If you don't turn on template debugging, you'll never figure out which templates are producing what part of the display.

HTH,
RWW

Claudio Erba

Tuesday 23 September 2003 9:48:15 am

where is located the site.ini.append file?
I found so many files of this type ... the folder i mean

(I hate look as a noob) :-(
Thanks
Claudio

Paul Borgermans

Tuesday 23 September 2003 9:58:01 am

/settings/override

and

/settings/siteaccess/

-p

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Claudio Erba

Tuesday 23 September 2003 10:25:19 am

I see but in settings no way to find:

[DebugSettings]
DebugOutput=disabled
DebugByIP=enabled
Debug=inline
DebugRedirection=disabled

[TemplateSettings]
Debug=enabled
TemplateCache=disabled

and in siteaccess there are so many templates, what I have to choose?
Thanks
Claudio

Claudio Erba

Tuesday 23 September 2003 11:35:59 am

I DID I DID I DID!!!
Thanks to all
Claudio

Felix Laate

Wednesday 24 September 2003 3:19:27 am

What did you do?

;-) Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Claudio Erba

Wednesday 24 September 2003 3:46:46 am

When i tryed to copy full.tpl i forgot to place a copy in view/node, when i did this operation all went ok.
Thanks to all
Claudio

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 18 2025 19:06:58
Script start
Timing: Jan 18 2025 19:06:58
Module start 'layout'
Timing: Jan 18 2025 19:06:58
Module start 'content'
Timing: Jan 18 2025 19:06:58
Module end 'content'
Timing: Jan 18 2025 19:06:58
Script end

Main resources:

Total runtime0.8583 sec
Peak memory usage4,096.0000 KB
Database Queries82

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9063152.6250
Module start 'layout' 0.00520.0033 740.531339.4453
Module start 'content' 0.00850.8481 779.9766696.9766
Module end 'content' 0.85660.0017 1,476.953120.1719
Script end 0.8583  1,497.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3837160.0002
Check MTime0.00130.1484160.0001
Mysql Total
Database connection0.00080.092010.0008
Mysqli_queries0.777990.6355820.0095
Looping result0.00090.1017800.0000
Template Total0.819295.420.4096
Template load0.00220.255620.0011
Template processing0.817095.183520.4085
Template load and register function0.00020.027710.0002
states
state_id_array0.00110.129310.0011
state_identifier_array0.00110.123220.0005
Override
Cache load0.00190.2264740.0000
Sytem overhead
Fetch class attribute can translate value0.00210.249240.0005
Fetch class attribute name0.00170.2013120.0001
XML
Image XML parsing0.00140.160340.0003
class_abstraction
Instantiating content class attribute0.00000.0026120.0000
General
dbfile0.00100.1157230.0000
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
21content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
14content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 49
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs