Creating a copy of the MilkyWay Template

From Joomla! Documentation

The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Creating a copy of the MilkyWay template allows you to experiment with it without compromising the original.

  • make a copy of the rhuk_milkyway folder and rename it
  • edit templateDetails.xml to add your own details, remove the links to non existing files
    • <filename>images/mw_box_blue_bl.png</filename>
    • <filename>images/mw_box_blue_br.png</filename>
    • <filename>images/mw_box_blue_tl.png</filename>
    • <filename>images/mw_box_blue_tr.png</filename>
    • <filename>images/mw_footer_blue_b_l.png</filename>
    • <filename>images/mw_footer_blue_b_r.png</filename>
    • <filename>images/mw_footer_blue_b.png</filename>
    • <filename>images/mw_header_blue_t_l.png</filename>
    • <filename>images/mw_header_blue_t_r.png</filename>
    • <filename>images/mw_header_blue_t.png</filename>
    • <filename>images/mw_menu_active_bg.png</filename>
    • <filename>images/mw_shadow_blue_l.png</filename>
    • <filename>images/mw_shadow_blue_r.png</filename>
    • <filename>css/editor.css</filename>
  • add the <filename>images/mw_readon_rtl.png</filename> entry
  • Perform a search and replace on the following files WITHIN THE NEW FOLDER to replace "/rhuk_milkyway/" with "/your_templates_name/":
    • component.php
    • index.php
    • templateDetails.xml
This will update the links to your new template. Note that, in the description tag of the templateDetails.xml file, you should put something like "Copy of rhuk_milkyway template" or some other text that describes the template.
  • Create an image with your logo, and save it into the images folder. Delete the mw_joomla_logo.png file
  • open css/template.css > edit div#logo style updating the background: url to point to your file
  • edit templateDetails.xml to replace the mw_joomla_logo.png file with yours.
  • zip your template directory
  • go to the extension manager, select the zipped directory and install the package
  • assign the template, and preview!