Koutaru
04-27-2003, 05:09 PM
I'm sure many people would want this
Sometimes I try to put customized templates from hacks under a certain section. (like customized error pages) I do this query:
$DB_site->query("UPDATE template SET templatesetid='-1' WHERE title like 'error%'");
But then I realize that I get doubles in my admin panel:
error_activatedthanks [change original]
error_activatedthanks [change original]
error_activate_moderation [change original]
error_activate_moderation [change original]
error_activate_wrongusergroup [change original]
error_activate_wrongusergroup [change original]
from the original templates I had edited.
Can someone create a php file that will globalize all templates (put them under the appropriate section) as well as create sections (Ex: such as "Bank" and have all bank templates under that section) And will not have doubling in thet admin cpanel from previously edited original templates?
This would be greatly appreciated :)
Thanks!!
Sometimes I try to put customized templates from hacks under a certain section. (like customized error pages) I do this query:
$DB_site->query("UPDATE template SET templatesetid='-1' WHERE title like 'error%'");
But then I realize that I get doubles in my admin panel:
error_activatedthanks [change original]
error_activatedthanks [change original]
error_activate_moderation [change original]
error_activate_moderation [change original]
error_activate_wrongusergroup [change original]
error_activate_wrongusergroup [change original]
from the original templates I had edited.
Can someone create a php file that will globalize all templates (put them under the appropriate section) as well as create sections (Ex: such as "Bank" and have all bank templates under that section) And will not have doubling in thet admin cpanel from previously edited original templates?
This would be greatly appreciated :)
Thanks!!