Announcement

#1 2010-05-16 23:48:44

fishtoon
Member
2009-02-08
20

[resolved] Can modify the categories template?

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

 

#2 2010-05-16 23:54:07

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: [resolved] Can modify the categories template?

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


P@t

Offline

 

#3 2010-05-17 00:03:55

fishtoon
Member
2009-02-08
20

Re: [resolved] Can modify the categories template?

thanks !, haha,I mean ..  I would like to customize the categories template thumbnails layout,

Offline

 

#4 2010-05-17 00:17:52

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: [resolved] Can modify the categories template?

So have a look to mainpage_categories.tpl file...


P@t

Offline

 

#5 2010-05-17 00:49:19

fishtoon
Member
2009-02-08
20

Re: [resolved] Can modify the categories template?

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

 

#6 2010-05-17 07:29:36

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [resolved] Can modify the categories template?

Make a copy of thumbnails.tpl in template-extension
Update it as you like
Active your .tpl through Admin > Configuration > Templates


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact