 | Re: Duplicating a template |  |
Posted: 10/10/2006 2:34 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:09 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 2:49 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 11:09 AM
Location: Upside down
|

|
|
|
|
 |
| I'm just going through all the files and replacing "subPortal" with the name of the new template |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 3:01 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:09 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 3:06 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 11:09 AM
Location: Upside down
|

|
|
|
|
 |
How do I do a replace all?  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 5:24 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 11:09 AM
Location: Upside down
|

|
|
|
|
 |
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 |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 8:31 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 11:09 AM
Location: Upside down
|

|
|
|
|
 |
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 |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 2:41 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:09 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 4:24 PM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 11:09 AM
Location: Upside down
|

|
|
|
|
 |
Maybe its that stupid extreme styles mod or just me.
Will look into it later today maybe. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/10/2006 4:32 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:09 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Duplicating a template |  |
Posted: 10/11/2006 1:30 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 11:09 AM
Location: Upside down
|

|
|
|
|
 |
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
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 |
|
|
 | Information |  |
|