Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Duplicating a template
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2, 3, 4  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Duplicating a template
PostPosted: 10/08/2006 5:53 PM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
australC_1xa.gif
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
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Duplicating a template
PostPosted: 10/08/2006 10:04 PM Reply with quote
Citation
Jaddon
Citation
Posts 3160
Word Cnt. 157,169
BDay Mar 11
Sign Pisces
Sex Sex:Female
Joined: Oct 12, 2005
Local time: 4:01 PM
usaCa.gif
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. Smile
Back to Top
View user's profile Find all posts by Jaddon Send private message   Visit poster's website Phoogle Map
Re: Duplicating a template
PostPosted: 10/09/2006 12:01 AM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
australC_1xa.gif
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
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Duplicating a template
PostPosted: 10/09/2006 6:27 PM Reply with quote
Citation
Jaddon
Citation
Posts 3160
Word Cnt. 157,169
BDay Mar 11
Sign Pisces
Sex Sex:Female
Joined: Oct 12, 2005
Local time: 4:01 PM
usaCa.gif
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
View user's profile Find all posts by Jaddon Send private message   Visit poster's website Phoogle Map
Re: Duplicating a template
PostPosted: 10/09/2006 8:29 PM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
australC_1xa.gif
yes I have ftp access.

Subportal is just a template not a mod.
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Duplicating a template
PostPosted: 10/09/2006 10:28 PM Reply with quote
Citation
Jaddon
Citation
Posts 3160
Word Cnt. 157,169
BDay Mar 11
Sign Pisces
Sex Sex:Female
Joined: Oct 12, 2005
Local time: 4:01 PM
usaCa.gif
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 Smile

Hope this helps
Back to Top
View user's profile Find all posts by Jaddon Send private message   Visit poster's website Phoogle Map
Re: Duplicating a template
PostPosted: 10/10/2006 12:32 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:01 PM
Location: St Pete, FL
peace.gif
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.

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Duplicating a template
PostPosted: 10/10/2006 1:55 AM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
australC_1xa.gif
Man, there's a lot to change in the theme_info.cfg file, but I'm working on that now.
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Duplicating a template
PostPosted: 10/10/2006 2:23 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:01 PM
Location: St Pete, FL
peace.gif
You can do a replace all on that.  It should only take a second to change it all to the new template name...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Duplicating a template
PostPosted: 10/10/2006 2:25 AM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 7:01 AM
Location: Upside down
australC_1xa.gif
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
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2, 3, 4  Next
Page 1 of 4


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1166s (PHP: 47% - SQL: 53%) - SQL queries: 58 - GZIP disabled - Debug on