I would like to customize the categories template thumbnails layout, but I did not find this code in **.tpl, can you tell me where it is?
Last edited by fishtoon (2010-05-16 23:58:13)
Offline
Do you mean categories in menubar?
This is coded in php file in 2.0.x version, but it's coded in tpl file in 2.1.0 version (published in next few days)
If you are looking for main tpl file for categories, it's mainpage_categories.tpl
Offline
thanks !, haha,I mean .. I would like to customize the categories template thumbnails layout,
Offline
So have a look to mainpage_categories.tpl file...
Offline
P@t wrote:
So have a look to mainpage_categories.tpl file...
mainpage_categories.tpl only displayed Home page layout ,I want to change Subdirectory(categories) template,For example this page
(http://piwigo.org/demo/index.php?/categ … lang=en_UK)
I found ****{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}***
in index.tpl is displayed categories Thumbnail
But I did not find such as: <div>, <span class="wrap1">,
Other code
Offline
Make a copy of thumbnails.tpl in template-extension
Update it as you like
Active your .tpl through Admin > Configuration > Templates
Offline