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: Previous  1, 2, 3, 4  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: Duplicating a template
PostPosted: 10/10/2006 2:34 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: 9:09 PM
Location: St Pete, FL
peace.gif
This is a hardcoded path in my Helius profile_view_body.tpl file:

Code:
<img src="templates/Helius/images/spacer.gif"

So if I changed the name of the template to Helius2 for some strange reason, I would want this path to read this:

Code:
<img src="templates/Helius2/images/spacer.gif"

If they had used variables instead of hardcoding, there would have been no need to modify this code...

Brick wall
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:49 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: 11:09 AM
Location: Upside down
australC_1xa.gif
I'm just going through all the files and replacing "subPortal" with the name of the new template
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 3:01 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: 9:09 PM
Location: St Pete, FL
peace.gif
It shouldn't take that long to do that.  Just do a Replace All in each file and it will take care of every hardcoded instance of subPortal.  So you won't miss anything...

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 3:06 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: 11:09 AM
Location: Upside down
australC_1xa.gif
How do I do a replace all?  dontknow
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 5:24 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: 11:09 AM
Location: Upside down
australC_1xa.gif
Doesn't matter.... I changed it all, now I have to figure out how to install it.

I have the extreme styles mod installed
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 8:31 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: 11:09 AM
Location: Upside down
australC_1xa.gif
It's not showing up when I click to install a template. Do you think it has anything to do with me putting a hyphen in the name like this
"av8r-portal"?

Doesn't really matter if I get it to work or not.
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:41 PM 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: 9:09 PM
Location: St Pete, FL
peace.gif
I wouldn't think that the hyphen would make a difference, but it wouldn't take much to find out.  Simply rename the template without a hyphen and see what happens.  You would have to change it in the theme_info.cfg file and change the name of the template folder, and css and cfg files too...

To do a Replace All, you can click on Ctrl+R in most text editors to bring up the Replace All window.  In the top, you would enter the text that you want to replace and the bottom you would enter the text you want to replace it with.  In some text editors, you have to click an Replace All button or check the replace all option...

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 4:24 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: 11:09 AM
Location: Upside down
australC_1xa.gif
Rolling Eyes

Maybe its that stupid extreme styles mod or just me.

Will look into it later today maybe.
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 4:32 PM 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: 9:09 PM
Location: St Pete, FL
peace.gif
The eXtreme Styles MOD shouldn't prevent you from installing a new template.  It seems to be reliable...

I imagine that you are missing one of the main steps.  If you have replaced the subPortal name with the av8r-portal name in your theme_info.cfg and renamed the subPortal.css and subPortal.cfg to av8r-portal.css and av8r-portal.cfg, and you have a templates/av8r-portal storing it all, you should be good to go, as long as all the other template files are present too...

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/11/2006 1:30 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: 11:09 AM
Location: Upside down
australC_1xa.gif
Somethings weird happened. When I had the new template called "av8r-portal" uploaded on my server, when I clicked on install a new template there was nothing. I just deleted all the new template files off the server and when I just clicked on install it's showing up the subportal template  dontknow

This is too much to worry about so am going to leave it. Plus, I am using notepad and it won't allow me to do a replace all command.

Thanks for your help, but I just don't have the time to spend on getting it to work.
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: Previous  1, 2, 3, 4  Next
Page 2 of 4


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0819s (PHP: 65% - SQL: 35%) - SQL queries: 57 - GZIP disabled - Debug on