Main Index - My Product Gallery
Just a little test with straight html code but a beginning little box top of sidebar. Before I do anything else I need to write up the admin interface to add the plugin. That will take a little work.
It will be similar to how vbulletin does things although not as expansive as they have several hundred hooks.
Straight PHP code is executed and anything you want to print via html will be added like so. Once I get things worked out and we support a new plugin system I will post a tutorial.
The hook code will accept straight php code without opening or closing tags to define or grab anything you are trying to define like
vb and then you will render the html output like so.
$pphook['location'] .= 'SOME HTML HERE';
Then in our templates at the proper locations I will place the hook outputs like so
$pphook[location]
As with any plugin system you can mess things up if you do bad php or html code so there will be a master switch and ability to define it off in the config directly if you mess up like
vb. There will also be the ability to turn any individual plugin off.
As I am designing things any input and ideas is appreciated.