Attaching a CSS class to the Phoca Gallery

Phoca Gallery - image gallery extension
sphelan
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Jul 2011, 17:46

Attaching a CSS class to the Phoca Gallery

Post by sphelan »

Pholks,

I've been messing around with Phoca Gallery's main component/menu function in Joomla, and using the "Page Class Suffix" option in the Joomla menu item detail (under "Parameters - System")

It looks like the class suffix gets applied to the main title, and the footer, but not to the actual images and thumbnails (The classes for those images start with "phocagallery-box-file")

IF ... the page class suffix was applied to the thumbnails, and we were to start the class with a space, we could customize each menu item to show it's categories with special CSS overrides (on a per-menuitem basis)

To test this out, I found all the code lines in v2.7.8, and made the adjustments - this seems to work as expected.

Jan ... if you PM me, I can send you the diff's (or the modified files) for you to have a look at, Maybe this improvement could be rolled into the next version upgrade?

Thanks,
Sp
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Attaching a CSS class to the Phoca Gallery

Post by Jan »

Hi, yes will be great, I think this should work in version 3

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