Forums / Setup & design / Templates for Folders

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Templates for Folders

Author Message

Kristjan Klementi

Monday 14 April 2003 12:23:58 am

Hi
I sort of got lost in all the template stuff
How can I make a folder have different designs.
I have 6 main folders / every one has 2 levels of subfolders where the articles and infopages reside. In some of those I want to have different layout...
I have learned to make them all look the same... but how I can sepparate them ? And make the layout look different?
/Kristjan

Paulo Almeida

Monday 14 April 2003 4:02:32 am

I think you have 3 ways to do so. In my opinion, create a new class for "sub folders", if all "subfolders" could have the same layout.
Another way is create an template for each subfolder full_node_xx.tpl (xx is the object id).
The last way i thought is, in full_class_1.tpl use $DesignKeys.depth, to find in which "level" the folder is. Now use {section show.......}, to select what to "show".
I hope i helped.

PACPI.COM Internet Consulting
http://pacpi.com

Kristjan Klementi

Monday 14 April 2003 6:26:29 am

Thanks for advise
Making some separate folders looks a reasonable solution for me.
/Kr.