 | Duplicating a template |  |
Posted: 10/08/2006 5:53 PM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
|

|
|
|
|
 |
| I would like to duplicate the current template I have so that I can muck about with changing the colours. I don't want to do this with the current one in case I botch it. So, how can I do this? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/08/2006 10:04 PM |
|
|
|
|
|
| Citation |
| Posts |
3160 |
| Word Cnt. |
157,169 |
| BDay |
Mar 11 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Oct 12, 2005
Local time: 4:01 PM
|

|
|
|
|
 |
in ftp transfer the page with the template you want to your computer, then right click on the file and rename it - make sure you keep the .htlm or .php depending on what you use. When you upload the new page it won't over ride the original.
or
in ftp transfer the page with the template you want to your computer
then open the page in frontpage or whatever you use and save as giving it a different file name - now you have two pages of the same.
Hope this is what you where asking and that this helps.  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/09/2006 12:01 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
|

|
|
|
|
 |
You've lost me.
My forum is using a template called subportal. I want to copy the template and call it something else and upload back to my site and rename it something else. Then I want to be able to use the new template to change the colours. So I will need to select this template in my profile. Hope you know what I mean.
Your instructions were probably correct Jaddon but my brain isn't working 100% today. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/09/2006 6:27 PM |
|
|
|
|
|
| Citation |
| Posts |
3160 |
| Word Cnt. |
157,169 |
| BDay |
Mar 11 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Oct 12, 2005
Local time: 4:01 PM
|

|
|
|
|
 |
do you have ftp access for your website?
Is the subportal a mod that you added to your site? If its a mod can you give me a link to the mod your using and I will try to figure it out.
also Can you give me the link to the page with the template you want to copy if its not a mod I should be able to make you a copy of that page - I just need to know what file format you are using such as html , php or ect. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/09/2006 8:29 PM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
|

|
|
|
|
 |
yes I have ftp access.
Subportal is just a template not a mod. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/09/2006 10:28 PM |
|
|
|
|
|
| Citation |
| Posts |
3160 |
| Word Cnt. |
157,169 |
| BDay |
Mar 11 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Oct 12, 2005
Local time: 4:01 PM
|

|
|
|
|
 |
ok then it should be easy to rename it.
Download the template file - to your computer.
Point the mouse pointer on top of the template file while the pointer is over the file right click - this will bring up a menu box - scroll down to where it says rename highlight it then click
After you click notice the file name is highlighted - type in the new file name - then hit enter
Then you can make the changes you want and upload it without it effecting the orignal template
Hope this helps |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 12:32 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:01 PM
Location: St Pete, FL
|

|
|
|
|
 |
| Glenn I wrote:
|
|
I would like to duplicate the current template I have so that I can muck about with changing the colours. I don't want to do this with the current one in case I botch it. So, how can I do this?
|
To duplicate/clone a template, simply change the template folder name to something unique. Then change the css and cfg files to match the name exactly, including fOnT cAsE. Then go into the theme_info.cfg file and do a replace all on the previous template name with the new one...
Then do a search for hardcoded template names in the new cloned template and change them to the new template name. I just did a quick search on Helius in our Helius template and found matches in these files. Some matches are just comments that don't have to change but probably should just to keep things organized...
Upload the template to the templates folder, then install it in Styles Admin in the ACP.
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 1:55 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
|

|
|
|
|
 |
| Man, there's a lot to change in the theme_info.cfg file, but I'm working on that now. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 2:23 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:01 PM
Location: St Pete, FL
|

|
|
|
|
 |
You can do a replace all on that. It should only take a second to change it all to the new template name...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 2:25 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
|

|
|
|
|
 |
| What do you mean by hardcoded because there's lots of files with "subPortal" in them and it's gonna take a while to replace all of them. |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|