J1.5

Difference between revisions of "Creating a copy of the MilkyWay Template"

From Joomla! Documentation

(clarified which files need to have "rhuk_milkyway" changed to "your_template". There are only 3 files, so I list them.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Creating a copy of the MilkyWay template allows you to experiment with it without compromising the original.
 
Creating a copy of the MilkyWay template allows you to experiment with it without compromising the original.
<br>
+
 
 
* make a copy of the rhuk_milkyway folder and rename it
 
* 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
 
* edit templateDetails.xml to add your own details, remove the links to non existing files
Line 21: Line 21:
 
** component.php
 
** component.php
 
** index.php
 
** index.php
** templateDetails.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.  
 
: 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
 
* Create an image with your logo, and save it into the images folder. Delete the mw_joomla_logo.png file
Line 30: Line 30:
 
* assign the template, and preview!
 
* assign the template, and preview!
  
[[Category:Procedures]]
+
[[Category:Archived version Joomla! 1.5]]
[[Category:Beginners]]
 
[[Category:Templates]]
 

Latest revision as of 20:31, 29 April 2013

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!