Share » Forums » Setup & design » Really really stuck

Really really stuck

Really really stuck

Tuesday 06 July 2004 12:39:37 am - 5 replies

Author Message

Kåre Køhler Høvik

Tuesday 06 July 2004 12:53:44 am

In the admin interface, the section for all the objects are listed in the node list. You can assign sections in the admin interface under : <i>Set up</i>-><i>Advanced</i>-><i>Sections</i>

--
Kåre Høvik

Kåre Høvik

Michael Zielinski

Tuesday 06 July 2004 2:16:13 am

Thanks for the quick reply.
Everything seems to be ok, but I still don't see the modified folder template, but the standard template instead.
The member section is inside another section. Could that be a problem?
I use the code from the tutorial.

This is what's in the override.ini when set to 'mzhome'. 'admin' does not have a corresponding value.

full_member_folder_view (4) [add setting] Placement Value Edit
Source siteaccess "node/view/full.tpl"
MatchFile siteaccess "full_member_folder_view.tpl"
Subdir siteaccess "templates"
Match siteaccess [class_identifier] folder
siteaccess [section] 13

Michael

Kåre Køhler Høvik

Tuesday 06 July 2004 11:07:06 pm

Did you remember to clear cache after adding template override ?

Kåre Høvik

Michael Zielinski

Tuesday 06 July 2004 11:09:14 pm

Yup. I'll try the tutorial again today, maybe it'll work

Michael Zielinski

Wednesday 07 July 2004 3:30:51 am

Ok,
after reading and searching and more reading I found this thread http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/the_news_page/overview_of_the_latest_news and the user comments solved the problem.

So if when adding template overrides make sure that the more restrictive your match is the further to the top in the override file the override has to go. Apparantly EZPublish uses a first fit selection routine so an override with match 'folder' on the top of the file will catch all overrides and more restrictive ones with match 'folder AND section' further down in the file will never be parsed.

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

36 542 Users on board!

Forums menu