PDA

View Full Version : How to change the name of a TEMPLATE you have modified


alfri
11.04.2004, 01:58
Hi! I have choosed yops_gray as TEMPLATE. Then, I have deeply modified it so that now it has nothing to do with yops. Now, I would like to rename it JENNIFER. How can I do this without affecting its functioning? I have tried changing the template xml file. Doing this, the template's name has changed in the TEMPLATE INSTALL backend section.
BUT still the old name is visible. To overpass this I should change the name in the TEMPLATES folder. I tried to do this but the template stopped existing in my TEMPLATES backend list.
So the question now is,

HOW TO CHANGE THE TEMPLATE NAME IN THE TEMPLATES FOLDER TOO?

Thank you very much.

MamboHut
11.04.2004, 03:38
To change your template's name you need to do a few things:

-Change the name in you XML
-Open your index.php in your favorite editor and Run the find and replace utility to change all instances of the template name with the new name.
-If your template uses JSCookMenu , make sure you modify your (template_name\js\ThemeOffice\theme.js) file with the new name