-
AuthorPosts
-
ar2solutions Friend
ar2solutions
- Join date:
- August 2009
- Posts:
- 74
- Downloads:
- 5
- Uploads:
- 5
- Thanks:
- 26
- Thanked:
- 5 times in 1 posts
January 8, 2010 at 8:00 pm #147472Hi JA-Community!
I hope ya’ll had a good new year.
I’ve searched for this question but counldn’t find it so i’m ganna ask;
the question is, how do i change the template name from the source code?
For example, through out the index.php, the name of the template appears mulitple times,<link rel="stylesheet" href="http://ar2solutions.com/templates/ja_cooper_business/css/template.css" type="text/css" />
<link rel="stylesheet" href="http://ar2solutions.com/templates/ja_cooper_business/css/typo.css" type="text/css" />I’m talking about template/ja_cooper_business/css/…
I would like to change ja_cooper_business (through out the source code) to something more personal and relevant to the site.
Any suggestions?I searched this question online and found some pretty good websites but i’m not entirely sure it’ll work. I don’t want to mess with the core until i know facts! Here is the link to the site
All suggestions will be appreciated!
Thanks
-AR2
samanoqo Friendsamanoqo
- Join date:
- December 2009
- Posts:
- 25
- Downloads:
- 1
- Uploads:
- 2
- Thanks:
- 19
- Thanked:
- 4 times in 1 posts
January 8, 2010 at 11:16 pm #328750<em>@ar2solutions 159669 wrote:</em><blockquote>Hi JA-Community!
I hope ya’ll had a good new year.
I’ve searched for this question but counldn’t find it so i’m ganna ask;
the question is, how do i change the template name from the source code?
For example, through out the index.php, the name of the template appears mulitple times,<link rel="stylesheet" href="http://ar2solutions.com/templates/ja_cooper_business/css/template.css" type="text/css" />
<link rel="stylesheet" href="http://ar2solutions.com/templates/ja_cooper_business/css/typo.css" type="text/css" />I’m talking about template/ja_cooper_business/css/…
I would like to change ja_cooper_business (through out the source code) to something more personal and relevant to the site.
Any suggestions?I searched this question online and found some pretty good websites but i’m not entirely sure it’ll work. I don’t want to mess with the core until i know facts! Here is the link to the site
All suggestions will be appreciated!
Thanks
-AR2</blockquote>
try renaming the folder “ja_cooper_business”. I remember this worked for me once.lamvt Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
January 9, 2010 at 2:24 am #328757hi, if you want to rename or duplicate your template
Follow me:
1. Rename your folder “ja_cooper_business” to “your tempalte name”
2. Open xml file and rename:
templateDetails.xml in Tag <name>Like that: <name>ja_cooper_business</name> Rename it
3. Rename file called: languge.ini, rename languge file in tag <file></file> in templateDetails.xm too
That all2 users say Thank You to lamvt for this useful post
Rob Hawthorn FriendRob Hawthorn
- Join date:
- September 2014
- Posts:
- 190
- Downloads:
- 0
- Uploads:
- 28
- Thanks:
- 38
- Thanked:
- 3 times in 1 posts
March 25, 2010 at 6:13 pm #337777Guys just a quick common sense thing but you will have to select the template as “Default” through the backend because of the renaming.
Just in case you refresh and think the site’s messed up.
April 26, 2010 at 10:40 am #341630small tips will bring us lots of knowledge.
March 18, 2011 at 12:22 am #381965please let me know where should i find the language.ini file.
thanks
<em>@lamvt 159694 wrote:</em><blockquote>hi, if you want to rename or duplicate your template
Follow me:
1. Rename your folder “ja_cooper_business” to “your tempalte name”
2. Open xml file and rename:
templateDetails.xml in Tag <name>Like that: <name>ja_cooper_business</name> Rename it
3. Rename file called: languge.ini, rename languge file in tag <file></file> in templateDetails.xm too
That all</blockquote>March 30, 2011 at 9:07 am #383991<em>@lamvt 159694 wrote:</em><blockquote>hi, if you want to rename or duplicate your template
Follow me:
1. Rename your folder “ja_cooper_business” to “your tempalte name”
2. Open xml file and rename:
templateDetails.xml in Tag <name>Like that: <name>ja_cooper_business</name> Rename it
3. Rename file called: languge.ini, rename languge file in tag <file></file> in templateDetails.xm too
That all</blockquote>Hi!
I’ve done all the above, but when i wanted to edit the HTML and CSS in the template manager, the page does not show up. do u know where is the problem? can u please help me..thanks before 🙂
phylox Friendphylox
- Join date:
- December 2009
- Posts:
- 57
- Downloads:
- 5
- Uploads:
- 9
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
July 14, 2011 at 5:28 am #401067This tutorial is a little outdated. Can someone write a more clarified tutorial on how to go about in doing this?
February 20, 2012 at 3:36 pm #439030Can I use JA Extension Manager to update template If I change template name “ja_t3_blank” to “my_template” ?
bit stupid Friendbit stupid
- Join date:
- September 2012
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 4 times in 1 posts
November 2, 2012 at 10:59 am #471772<em>@phylox 253035 wrote:</em><blockquote>This tutorial is a little outdated. Can someone write a more clarified tutorial on how to go about in doing this?</blockquote>
I just completed this and wanted to bring everything together in a numpty (like me) proof way for joom 2.5. It is basically what lamvt & rob_hawthorn said though. So you want to rename the template that you are using?
Why – So it is more customised in View Source, add a small layer of security, protect from joomla updates
• Copy & Rename your template folder eg “JAT3” to “donkey_template”
• Open the xml file templateDetails.xml and rename the Tag <name> (for me line 7 of JA Purityii)
o EG: <name>ja_purity_ii</name> Rename it to donkey_template
• Rename file called: languge.ini and language.sys.ini for the template
o These files are in the languageen-GB folder (or whatever language you use
o so en-GB.tpl_ja_t3_blank.ini becomes en-GB.tpl_donkey_template.ini
o and en-GB.tpl_ja_t3_blank.sys.ini becomes en-GB.tpl_donkey_template.sys.ini – I dunno if this step is 100% needed but I did it, it worked, and the world has not yet ended.
• rename languge file in tag <file></file> in templateDetails.xml too.
o for me around line 55 of ja_purity_ii and looks after done like this
<languages folder=”language”>
<language tag=”en-GB”>en-GB/en-GB.tpl_donkey_template.ini</language>
<language tag=”en-GB”>en-GB/en-GB.tpl_donkey_template.sys.ini</language>
• Zip your donkey_template folder and upload via extension manager.
• Set as default in the template manager.Give me £1,000,000 or a pat on the back your choice. If it does not work it wasnt my fault!!
3 users say Thank You to bit stupid for this useful post
March 23, 2013 at 2:49 am #487533Would this actually change the template folder name in the code? I tried bit stupid’s solution and it installs fine and the right template shows up but when I view the codes in the browser, it still shows the original template folder name.
September 3, 2013 at 8:13 am #504347<em>@bit stupid 344631 wrote:</em><blockquote>I just completed this and wanted to bring everything together in a numpty (like me) proof way for joom 2.5. It is basically what lamvt & rob_hawthorn said though. So you want to rename the template that you are using?
Why – So it is more customised in View Source, add a small layer of security, protect from joomla updates
• Copy & Rename your template folder eg “JAT3” to “donkey_template”
• Open the xml file templateDetails.xml and rename the Tag <name> (for me line 7 of JA Purityii)
o EG: <name>ja_purity_ii</name> Rename it to donkey_template
• Rename file called: languge.ini and language.sys.ini for the template
o These files are in the languageen-GB folder (or whatever language you use
o so en-GB.tpl_ja_t3_blank.ini becomes en-GB.tpl_donkey_template.ini
o and en-GB.tpl_ja_t3_blank.sys.ini becomes en-GB.tpl_donkey_template.sys.ini – I dunno if this step is 100% needed but I did it, it worked, and the world has not yet ended.
• rename languge file in tag <file></file> in templateDetails.xml too.
o for me around line 55 of ja_purity_ii and looks after done like this
<languages folder=”language”>
<language tag=”en-GB”>en-GB/en-GB.tpl_donkey_template.ini</language>
<language tag=”en-GB”>en-GB/en-GB.tpl_donkey_template.sys.ini</language>
• Zip your donkey_template folder and upload via extension manager.
• Set as default in the template manager.</blockquote>This was insufficient for my installation of Brisk,
I needed to reset all the template settings inside template Manager -> donkey_template -> Style donkey_template default
Save, then save as copy renamed to donkey_template home, change the layout to “home” and assign it to the home menu item, save donkey_template home style.***Versioning CSS with T3 framework***
I realized while doing this, the style manager is then a great way to version your CSS for site updates and force download of updated CSS files, just rename the style to donkey_template01 or something with a checksum number, then when you change CSS and need people to download new files, rename style to donkey_template02, same for “home” layout. -
AuthorPosts
This topic contains 13 replies, has 13 voices, and was last updated by Saguaros 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum