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.
HORIZONTAL LAYOUT UN CATEGORIES
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: HORIZONTAL LAYOUT UN CATEGORIES
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: HORIZONTAL LAYOUT UN CATEGORIES
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 07 Dec 2009, 16:05
Re: HORIZONTAL LAYOUT UN CATEGORIES
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
-
- Phoca Newbie
- Posts: 5
- Joined: 07 Dec 2009, 16:05
Re: HORIZONTAL LAYOUT UN CATEGORIES
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/
Extract and replace the old one in plugins/content/
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: HORIZONTAL LAYOUT UN CATEGORIES
Ok
If you find Phoca extensions useful, please support the project