Trigunflame
03-03-2006, 10:49 PM
Am I the only one thats noticed you cant use a plugin to modify the $specialtemplates via plugin prior to their first call through init.php
This means regardless, I have to use atleast 1 query if I have anything extra that I need for the hack ie. a datastore item; that could have otherwise been fetched on the initial run.
Gotta love plugins.
ps. Yes I know plugin code is stored in the datstore itself which would present the flawed logic of
"Cannot modify specialtemplates prior to init due to the fact the plugin code for the specified hook has to be fetched before it can be evald into modifying anything."
Thus the answer would seem that plugins need to be stored somewhere other than the datastore; so it can be used prior to init.php
This means regardless, I have to use atleast 1 query if I have anything extra that I need for the hack ie. a datastore item; that could have otherwise been fetched on the initial run.
Gotta love plugins.
ps. Yes I know plugin code is stored in the datstore itself which would present the flawed logic of
"Cannot modify specialtemplates prior to init due to the fact the plugin code for the specified hook has to be fetched before it can be evald into modifying anything."
Thus the answer would seem that plugins need to be stored somewhere other than the datastore; so it can be used prior to init.php