Customise images in images\tree folder Customise images in images\tree folder
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Customise images in images\tree folder

Started by Bent Wooden Spoon, September 06, 2011, 01:08:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bent Wooden Spoon

Hi,

I'm currently making a dark theme, and I want to use different buttons from some of the defaults in the images\tree folder for the config menu. I'm having problems with the expand/collapse buttons at the top and bottom. I'd like them to use the images I have in my theme's image folder rather than from Coppermine's image folder, but I don't know how.

Is there any way of changing these with theme.php?  I've seen what I think is the relevant code in admin.php, but I'm not sure if it's possible to insert it into my theme.php to change the img src, and if so how. If anyone can help I'd appreciate it.

Bent Wooden Spoon

Should clarify, it's the plus, minus and toggle images I'm trying to change.

ΑndrĂ©

As far as I can tell the only way to use your own images is to either
1.) Replace the images in images/tree/
2.) Edit the code in admin.php
3.) Adjust the final output with the plugin hook page_html

Option 3 is recommended and also quite easy and fast to implement.

Bent Wooden Spoon

Thought that might be the case. Many thanks for option 3, I'll look into it.

Cheers