HORIZONTAL LAYOUT UN CATEGORIES

Phoca Gallery plugins - plugins for Phoca Gallery extension
laspiur
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Dec 2009, 16:05

HORIZONTAL LAYOUT UN CATEGORIES

Post by laspiur »

I need to show the categories thumbnails in a horizontal layout instead of the current vertical layout that the plugin automatically creates in my page. I'm currently using this code to show the categories:

{phocagallery view=categories|imagecategories=1|imagecategoriessize=5}

Thanks. Sorry for my begineer english.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: HORIZONTAL LAYOUT UN CATEGORIES

Post by Jan »

Hi, there is no such option, so this needs to be customized in the code :-(
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: HORIZONTAL LAYOUT UN CATEGORIES

Post by Jan »

Hi, you can customize the template of Phoca Gallery categories layout (search this forum for more info) or you can try to change the colums e.g. to 6 and set some width of categories view, so it will try to put 6 columns but all 6 will be not passed into the site (because of width) but the output will be that it will paste 1 column then second column ( 1 | 2) then there will be no place, so new columns will be in next row (2 | 4) etc...

Jan
If you find Phoca extensions useful, please support the project
laspiur
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Dec 2009, 16:05

Re: HORIZONTAL LAYOUT UN CATEGORIES

Post by laspiur »

I could to this by editing the plugin php file : plugins/content/phocagallery.php. But i had a problem and need to reinstall the plugin, so i lost the changes. I'll modify the plugin again and i'll post the reply shortly. Bye
laspiur
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Dec 2009, 16:05

Re: HORIZONTAL LAYOUT UN CATEGORIES

Post by laspiur »

Here is the file modified to show categories in 3 columns in the plugin: http://www.mediafire.com/?1kz2oytzrzj

Extract and replace the old one in plugins/content/
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: HORIZONTAL LAYOUT UN CATEGORIES

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply