Log in

View Full Version : Delete Template?


Bilderback
03-03-2008, 07:15 PM
How do I delete a template?

I had imported a Style that was created for another forum
and the new forum does not have certain template requirements as the old one.

What this does is leave a template in the list which I cannot revert to delete.
Would this have to be done manually from the database?
If so, is the template table the only one needed altered?
Thanks

Opserty
03-03-2008, 07:19 PM
You should be able to just Click revert on the template and it should be deleted. (I'm not sure if this applies to changes to the MASTER STYLE though)

Bilderback
03-03-2008, 07:23 PM
You should be able to just Click revert on the template and it should be deleted. (I'm not sure if this applies to changes to the MASTER STYLE though)

Unfortunately, the template is part of the Master.
Originally, in my old forum, it was an added template but when I exported from old to import to new,
it became Master in the new forum.

The template name is greyed out and Revert wont click on Master.
I may just have to do the import/export again and remove the entry manually from the xml.
EDIT:I tried to export the Style and found that the template doesnt even exist within the exported XML for some odd reason.
Now I'm truly lost.

Thanks for replying.

Opserty
03-03-2008, 07:35 PM
You will have to delete the template from the MASTER STYLE, you'll need to enable debug mode in order to access the MASTER STYLE then. You can do this by adding this line to your config.php file and uploading it to your server.

$config['Misc']['debug'] = true;

The just "Revert" the template you want to, in the MASTER STYLE, as usual.

Remember remove the line from the config.php file once your done!

Bilderback
03-03-2008, 07:41 PM
WOW (sorry)
That is so awesome-
You learn something new every day, I guess.

Thank you so much.

EDIT: Is it safe to leave the line and change the value to false?
Or better to remove completely?

Opserty
03-03-2008, 07:51 PM
Doesn't really matter, both evaluate to false when checked :p