test
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • ar2solutions Friend
    #147472

    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

    samanoqo Friend
    #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 Friend
    #328757

    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

    Rob Hawthorn Friend
    #337777

    Guys 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.

    imrozz Friend
    #341630

    small tips will bring us lots of knowledge.

    Bivek Chhetri Friend
    #381965

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

    vb2011 Friend
    #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 Friend
    #401067

    This tutorial is a little outdated. Can someone write a more clarified tutorial on how to go about in doing this?

    ndosalak Friend
    #439030

    Can I use JA Extension Manager to update template If I change template name “ja_t3_blank” to “my_template” ?

    bit stupid Friend
    #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!!

    officezen Friend
    #487533

    Would 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.

    ninedozen Friend
    #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.

    Saguaros Moderator
    #504470

    Hi ninedozen,

    WIth JA Brisk template, you can follow this tips to change template name

    Regards

Viewing 13 posts - 1 through 13 (of 13 total)

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