Problem getting a template to work

Problem getting a template to work

Thursday 12 August 2004 2:41:43 pm - 7 replies

Modified on Thursday 12 August 2004 2:43:32 pm by sem hadland

Author Message

Fabrizio Barachino

Friday 13 August 2004 3:28:21 am

Did you reset the cache?

When you change something in a template you must reset the cache and after refresh the page.

sem hadland

Friday 13 August 2004 6:14:13 am

Thank you for your suggestion. Yes I have cleared the cache. I click the "clear All caches" button before I check the site again.

Can you please check my procedure in my first post. Is this correct? Can there be a problem with the instalation?

Any help is appreciated. Thank you.

Sem Hadland

Roger Andersen

Friday 13 August 2004 10:25:54 am

Can I edit the templates from here instead of up/downloading with ftp ?

I tried inserting one of the examples at http://ez.no/ez_publish/documentation/reference/data_fetching/content/list
but I just got some errors..

Can anyone help ?

Thanks

Paul Borgermans

Friday 13 August 2004 1:14:22 pm

Hi Sem,

Your framside template should be the first (before the folder class override template).

After that clear *all* caches

hth

-paul

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

sem hadland

Saturday 14 August 2004 5:47:48 am

Thank you for your swift reply Paul. I understand what you write, but not what you mean :-/

My "framside" template should be before the folder "class override" where? And how do I do this?

Do you mean I have to change the priority for the templates here: http://www.encycmet.com/temp/ez3.gif ? I tried that by changing the priority-numbers and clicking the update button, but nothing happened.

I might not even be near the answer?

Sorry to be such a pain. I am hoping to be an ez-expert soon and the software seems to be killer good, but right now I am stuck.

Hope you can help me out. Thank you very much.

Paul Borgermans

Saturday 14 August 2004 11:44:44 am

Yes, your override should be before the folder class entry. You should be able to do this by specifying priority 1 and then press the update button for the template overrides in the admin folder.

Alternatively, you may do that by hand by editing the file override.ini.append for your siteaccess and put the framsid entry first (or at least before the folder class.

After that, clear all caches. You will get it to work :-)

-paul

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

sem hadland

Monday 16 August 2004 11:40:22 am

Should I create the template in the "admin" folder? I thought I should create this in the "news" folder, as a URL to a piece of news is like http://intra.dalane-tidende.no/index.php/news/nyheter/vem_kan_segla

As you can see at http://www.encycmet.com/temp/ez3.gif , I did everything in the "News" folder. I first did choose "News" in the dropdown menu and clicked the "set" button. All wrong? I should do it in the "admin"?

<b>More info:</b> I tried to specifying priority 1 and then press the update button for the template overrides (in the news folder), but nothing happened. Is that a problem with my instalation? I then found the override.ini.append in the news folder (/ezpublish/settings/siteaccess/news) I did the changes as you told me, uploaded and cleared all caches, but nothing happened. You can see the file at http://www.encycmet.com/temp/override.ini.append

Sorry about the long post, but I try to give you all the details you might need to know.

Thank you very much for your help so far.

You must be logged in to post messages in this topic!

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