|
Originally Posted by Mighty_Y
|
|
Quote:
|
Roger that Mikem but they dont change with the themes unless I change them by swapping them out of the directory.
I would like for them to auto update to the theme so the user gets the correct images for the theme they select.
Thanks
John
|
I posted an answer on this stuff on anorscorner.com and I'm currently working on a textfile for that. I did make it for my site so what I posted there really works.
Bye,
Mighty_Y
|
Well, the Your Account images changing on the fly with theme change we discovered is ALREADY a feature in PHP-Nuke 6.0
All you need to do is in your Current theme folder/images, make a new Directory in the images folder called menu, then upload that themes matching Your Account images there.
So you should have this if you use DarkBlue theme
themes/DarkBlue/images/menu/account images here
Now when you change themes, Nuke LOOKS in that theme's images directory for the menu folder which contains it's matching Your Account images, if they are there, it uses them, if not, it will revert to the ones in the modules/Your_Account/images folder.
The code that checks this is found in the navbar.php file in Your Account module.
Pretty darn cool
mikem