0
Welcome Guest! Login
0 items Join Now

Duplicating Your Template

    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Duplicating Your Template

    Posted 16 years 1 week ago
    • Duplicating Your Template:

      Creating a different style or color scheme for each Menu or Section is a popular request.

      Using the Template Manager, this can be done quite easily by duplicating the template and assigning Menu items to each version.

      1. Download your template.
      2. Copy the directory locally
      3. Rename the folder
      4. In the copied template folder, open templateDetails.xml
      5. Edit the names to reflect the new folder name
      6. Upload the directory to your /templates folder
      7. Log into the Joomla Administrator at www.yoursite.com
      8. Go to Site > Template Manager > Site Templates
      9. Find your copy and select the circular icon to the left
      10. Now select Assign
      11. Choose your menu item

      (Thanks to Yves on this one! :cheesy: )
    • Thanks,
      jim
    • sarecco's Avatar
    • sarecco
    • Newbie
    • Posts: 8
    • Thanks: 0
    • Video Editor

    Re: Duplicating Your Template

    Posted 15 years 11 months ago
    • thanks so much jem
    • mjjn's Avatar
    • mjjn
    • Rocketeer
    • Posts: 89
    • Thanks: 0
    • Aircraft Sales Representative

    Re: Duplicating Your Template

    Posted 15 years 11 months ago
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Duplicating Your Template

    Posted 15 years 11 months ago
    • mjjn wrote:
      Hi,

      I followed your advice JEM and the results are nearly perfect. I suppose I'm not allowing the language files to be accessed properly.

      If you look on my site http://www.helisearch.com on the main page and at the top right you will see TEXT_SIZE when it is supposed to be Text size. Also, in the back-end the same thing happens for the descriptions when I access my duplicated copy of rt_solarsentinel_j15.

      I searched the folder that I duplicated and made sure that any paths pointed to my new template name (default).

      Any advice would be greatly appreciated.

      Thanks,
      Mark

      I've seen this error before and after a quick search I didn't find the answer....

      I'm almost certain one exists!! :D

      I'll keep searching, but in the meantime, could you start a topic in the Solar Sentinel forum; 'Duplicating template TEXT_SIZE', and describe your problem, along with providing a link.

      !!! Also curious to know if it works with SEF disabled!!!
    • Thanks,
      jim
    • mjjn's Avatar
    • mjjn
    • Rocketeer
    • Posts: 89
    • Thanks: 0
    • Aircraft Sales Representative

    Re: Duplicating Your Template

    Posted 15 years 11 months ago
  • Re: Duplicating Your Template

    Posted 15 years 10 months ago
    • Brilliant advice and works a treat.

      Many, many thanks!!!
    • Daren Jephcote. Technical S.E.O. Consultant.
      Join in the conversation on Twitter .
      I offer expert, Technical SEO Services to an exclusive list of clients. They enjoy error-free, high ranking website results that help them thrive online.
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Duplicating Your Template

    Posted 15 years 10 months ago
    • King.Lui's Avatar
    • King.Lui
    • Jr. Rocketeer
    • Posts: 25
    • Thanks: 0

    Re: Duplicating Your Template

    Posted 15 years 10 months ago
    • I think you can make it easier. I will not copy the template, I will change the presets of the same template. That's easy going with the component css2switch: extensions.joomla.org/extensions/style-&...plating/4252/details

      you must only change one code line in administrator/components/com_css2switch/css2switch.class.php at around line 51. in function leseTempVerzeichnis change prefix='temp' to prefix=''

      Now you can give each menu-item a preset - without copy the template files.

      Cheers.
  • Re: Duplicating Your Template

    Posted 15 years 9 months ago
    • Hi Steffen,

      You just made my day so much easier! Thanks for poiting out css2switch. A very welcome and proper working component/plugin for RT templates.

      I have been working with style suffixes since joomla 1.0 to have styles on a per-menu basis. This tool is so much easier than that!
    • Best regards,

      Piet Nutbey

      Joomla Video Tutorials: www.joomtorial.com
    • Naor's Avatar
    • Naor
    • Hero Rocketeer
    • Posts: 306
    • Thanks: 0

    Re: Duplicating Your Template

    Posted 15 years 6 months ago
    • In regards to using CSS2switch, if you wanted to have one menu item change the logo on the page (Meridian template for example), how do you possibly get it to assign both a new Template.css (which dictates the logo size) as well as a new light.css (which dictates which file is used as a logo) ??

Time to create page: 0.090 seconds