Duboux
Verified User
- Joined
- Apr 20, 2007
- Messages
- 251
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
(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