Artashes
08-31-2011, 07:53 PM
Hello
I am trying to insert new templates via SQL from an external application with the vb database as its database.
The template itself is being inserted correctly into the database. I have made it so that if the template name i supply my script with matches a template name in the database it copies the code (template and template_un), otherwise the template is blank.
This is all acting as I want it.
However, when I make modifications to a template which has the same name as a vb default, it does not result in any of the changes being made to the theme. In fact, when I go to the style manager in the admincp, it does not seem to realise that there is a customised version of the template (it is not red). When I make modifications to the one in the style manager it says that there is already a template and any modifications will override it.
Am I missing something here? How do I get vB to realise that there is a customised version of a default template?
Thanks,
I am trying to insert new templates via SQL from an external application with the vb database as its database.
The template itself is being inserted correctly into the database. I have made it so that if the template name i supply my script with matches a template name in the database it copies the code (template and template_un), otherwise the template is blank.
This is all acting as I want it.
However, when I make modifications to a template which has the same name as a vb default, it does not result in any of the changes being made to the theme. In fact, when I go to the style manager in the admincp, it does not seem to realise that there is a customised version of the template (it is not red). When I make modifications to the one in the style manager it says that there is already a template and any modifications will override it.
Am I missing something here? How do I get vB to realise that there is a customised version of a default template?
Thanks,