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.