Icons for categories with custom text.

Phoca Gallery - image gallery extension
Basilio
Phoca Member
Phoca Member
Posts: 14
Joined: 23 Sep 2012, 13:47

Icons for categories with custom text.

Post by Basilio »

Hi Jan!

Sometimes you need a photo in the list of categories to display a discount or other information in the form of a small icon (the icon as "Hot" in). How to do it?
My suggestion.
The database (_phocagallery_categories) creates two columns. One column with the text for the icon. Another column for the location of the icon. If these fields are empty for a category icon is not displayed. Selection of styles (CSS) is a matter of technique.

Sincerely,
Basil.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Icons for categories with custom text.

Post by Jan »

Hi, sorry I don't understand, there is an icon Hot in Phoca Gallery :idea:
If you find Phoca extensions useful, please support the project
Basilio
Phoca Member
Phoca Member
Posts: 14
Joined: 23 Sep 2012, 13:47

Re: Icons for categories with custom text.

Post by Basilio »

Hi Jan!

Posts published at once and I have made two of the same post. But they complement each other. Here's a link to the same post.
forum/viewtopic.php?f=1&t=22124

Sincerely,
Basil.
Post Reply