Forums / Setup & design / Custom Template (Again)

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

eZ debug

Timing: Jan 18 2025 16:25:01
Script start
Timing: Jan 18 2025 16:25:01
Module start 'content'
Timing: Jan 18 2025 16:25:02
Module end 'content'
Timing: Jan 18 2025 16:25:02
Script end

Main resources:

Total runtime0.9703 sec
Peak memory usage4,096.0000 KB
Database Queries219

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 587.7031180.8438
Module start 'content' 0.00790.8368 768.5469702.0547
Module end 'content' 0.84470.1255 1,470.6016340.4453
Script end 0.9703  1,811.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.4739210.0002
Check MTime0.00200.2055210.0001
Mysql Total
Database connection0.00140.142610.0014
Mysqli_queries0.877890.46492190.0040
Looping result0.00210.21382170.0000
Template Total0.937196.620.4686
Template load0.00200.207320.0010
Template processing0.935196.368020.4675
Template load and register function0.00020.023910.0002
states
state_id_array0.00100.102510.0010
state_identifier_array0.00280.291520.0014
Override
Cache load0.00190.1917740.0000
Sytem overhead
Fetch class attribute can translate value0.00180.181850.0004
Fetch class attribute name0.00210.2178120.0002
XML
Image XML parsing0.00190.191850.0004
class_abstraction
Instantiating content class attribute0.00000.0021120.0000
General
dbfile0.00220.2240340.0001
String conversion0.00000.000530.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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