Page 1 of 1

HORIZONTAL LAYOUT UN CATEGORIES

Posted: 07 Dec 2009, 16:11
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.

Re: HORIZONTAL LAYOUT UN CATEGORIES

Posted: 07 Dec 2009, 19:28
by Jan
Hi, there is no such option, so this needs to be customized in the code :-(

Re: HORIZONTAL LAYOUT UN CATEGORIES

Posted: 13 Dec 2009, 16:24
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

Re: HORIZONTAL LAYOUT UN CATEGORIES

Posted: 14 Dec 2009, 23:55
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

Re: HORIZONTAL LAYOUT UN CATEGORIES

Posted: 15 Dec 2009, 16:54
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/

Re: HORIZONTAL LAYOUT UN CATEGORIES

Posted: 16 Dec 2009, 23:11
by Jan
Ok