Fixed Theme images: WebLinks and Downloads
Date: Wednesday, July 02 @ 09:13:07 CEST
Topic: PHP-Nuke


I'm a big fan of themes put out by M-Designs, but I got tired of having to re-upload each theme-specific image for Web Links and Downloads modules. So, here's some modified module code and instructions to fix that issue ;)

Read On to get the code

Okay, directions: download THIS zip file, hosted at CSMapCentral.com, unzip, and upload the contents of the html folder, to your phpnuke installation, overwriting the Downloads and Web_Links folders & index.php files. WARNING: This is ONLY for default Downloads and Web_Links modules, otherwise you *could* screw up each module - Only use this fix if you have unmodified Web_Links and Downloads modules... You have been warned

Then, whenever you download a theme that comes with modules/Web_Links/images/web.gif and modules/Downloads/images/down-logo.gif, just move both images into the themes/THEMETITLEHERE/images folder. Voila, the theme-specific images never overwrite your default images, and you always have the matching theme-image, if it exists... Enjoy!!-intel352 aka {W`C} bLaCkDeAtH_CSMC, Admin of CSMapCentral.com





This article comes from NukeCops
http://www.nukecops.com

The URL for this story is:
http://www.nukecops.com/modules.php?name=News&file=article&sid=283