PDA

View Full Version : hooks in the control panel



Duboux
08-23-2007, 07:24 AM
Hooks are area's in the control panel (skin) pages to include custom code.
(Like php has include())

This way owners can have their customized control panel and/or skins, which wouldn't get influenced by control panel updates ;)


This system can be made in different ways.
The easiest would be to have a folder "client_scripts", where people can store their code snippets in php-pages.
And have either a config-page to add snippet to the desired hook, or make a nice admin/reseller-cp-page that lists the files in that folder and adds a dropdownlist of hooks to select from.




Why ?

People can add links, information, checkscripts, etc...
And cp-updates wouldn't wipe them clean :)


Kinda the same thing as this vB forum has ;)

nobaloney
08-27-2007, 01:47 PM
See my response to your other thread, and please don't double-post, even with different wording.

Jeff