Icon Dynamic Directory Scan

Technical chat for the techies and development testers
Post Reply
dave
Site Admin
Posts: 260
Joined: Fri May 30, 2008 9:09 pm
Location: UK
Contact:

Icon Dynamic Directory Scan

Post by dave » Wed Oct 15, 2008 6:34 pm

Hi,

Thought I'd mention this in a bit of detail here in case it messes anyone up on upgrade. The new dev version (1.01.9a) scans the server/web/icons directory when required to build a list of icons. This means you can now drop icons straight into the directory and they should magically appear in the interface.

In order to keep existing setups happy and avoid updating config.inc.php files the old $fnIcons list is still there and is used for the defaults. The list isn't used for the actual displays or selections however.

To see what can be removed you might want to look at the config-.inc.php file which shows which parts of the list are still in use.

This should mean existing custom icons and changed defaults etc will continue to operate but you won't be able to input path-relative entries into the array and have them appear any more.

Cheers,

Dave.

Post Reply