Replace Category Names with Icons ? Replace Category Names with Icons ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Replace Category Names with Icons ?

Started by Wolfseye, June 09, 2011, 05:03:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wolfseye

Is it possible to replace Category Names with custom Icons / Images so that after that the text name is gone and there is only a specific image ?
Thanks in advance.

Wolf

Αndré

The probably easiest solution would be to create a plugin that uses the page_html hook to search the whole output for specific words. Instead of using 'real' category names you could use tokens like {CATEGORY_ID_42} and then search for that tokens and replace them.

Wolfseye

I probably would but I have no ideas how to make plugins. So I take it there is nothing yet made for a purpose like that ?
Thanks anyways.

Αndré

I can create such a plugin draft for you asap (it's quite easy).

Wolfseye

You would do that ?  :o

I would thank you for that a lot. Really would appreciate that greatly.
If not its ok too, I will just keep it as it is now. ;)

Wolf