Forums / General / Problems with override of folderdesign

Problems with override of folderdesign

Author Message

K259

Tuesday 23 May 2006 9:09:41 am

I have installed eZ p 3.7.x with News-design. In Design/Templates I see that folder are overrided with design/news/override/templates/full/folder.tpl.

My case: I want to make another view for folder for node 2, but I get problems. I tried to create a new override for full view, folder and node 2, but this just removed the other view for folder.

Can anyone please explain what I can do to keep the default override for folder, and add another view for folder at node 2 through the admininterface?

k259

K259

Tuesday 23 May 2006 10:05:14 am

I created a design to override folderview for node 2, but the system only uses the default override folderview.

I added this:
[full_folder]
Source=node/view/full.tpl
MatchFile=foldernode2.tpl
Subdir=templates
Match[node]=2
Match[class_identifier]=folder

[full_folder]
Source=node/view/full.tpl
MatchFile=full/folder.tpl
Subdir=templates
Match[]
Match[class_identifier]=folder

..and what I want is that node 2 uses foldernode2.tpl for view, and all the other nodes uses folder.tpl for view..

Please help :/ I have tested this for 3 days now, but with no result :(

K259

Tuesday 23 May 2006 10:12:00 am

Solved..so thanks anyway :p