J1.5

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

From Joomla! Documentation

(New page: Creating a copy of the MilkyWay template allows you to experiment with it without compromising the original. <UL> <LI>make a copy of the rhuk_milkyway folder and rename it</LI> <LI>edit t...)
 
 
(7 intermediate revisions by 4 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.
  
<UL>
+
* make a copy of the rhuk_milkyway folder and rename it
<LI>make a copy of the rhuk_milkyway folder and rename it</LI>
+
* edit templateDetails.xml to add your own details, remove the links to non existing files
<LI>edit templateDetails.xml to add your own details, remove the links to non existing files
+
** <filename>images/mw_box_blue_bl.png</filename>
<BR>
+
** <filename>images/mw_box_blue_br.png</filename>
<filename>images/mw_box_blue_bl.png</filename><BR>
+
** <filename>images/mw_box_blue_tl.png</filename>
<filename>images/mw_box_blue_br.png</filename><BR>
+
** <filename>images/mw_box_blue_tr.png</filename>
<filename>images/mw_box_blue_tl.png</filename><BR>
+
** <filename>images/mw_footer_blue_b_l.png</filename>
<filename>images/mw_box_blue_tr.png</filename><BR>
+
** <filename>images/mw_footer_blue_b_r.png</filename>
<filename>images/mw_footer_blue_b_l.png</filename><BR>
+
** <filename>images/mw_footer_blue_b.png</filename>
<filename>images/mw_footer_blue_b_r.png</filename><BR>
+
** <filename>images/mw_header_blue_t_l.png</filename>
<filename>images/mw_footer_blue_b.png</filename><BR>
+
** <filename>images/mw_header_blue_t_r.png</filename>
<filename>images/mw_header_blue_t_l.png</filename><BR>
+
** <filename>images/mw_header_blue_t.png</filename>
<filename>images/mw_header_blue_t_r.png</filename><BR>
+
** <filename>images/mw_menu_active_bg.png</filename>
<filename>images/mw_header_blue_t.png</filename><BR>
+
** <filename>images/mw_shadow_blue_l.png</filename>
<filename>images/mw_menu_active_bg.png</filename><BR>
+
** <filename>images/mw_shadow_blue_r.png</filename>
<filename>images/mw_shadow_blue_l.png</filename><BR>
+
** <filename>css/editor.css</filename>
<filename>images/mw_shadow_blue_r.png</filename><BR>
+
* add the <filename>images/mw_readon_rtl.png</filename> entry
<filename>css/editor.css</filename>"</LI>
+
* Perform a search and replace on the following files WITHIN THE NEW FOLDER to replace "/rhuk_milkyway/" with "/your_templates_name/":
<LI>add the <filename>images/mw_readon_rtl.png</filename> entry</LI>
+
** component.php
<LI>Perform a search and replace on all files WITHIN THE NEW FOLDER to replace "/rhuk_milkyway/" with "/your_templates_name/". This will update all links in all pages and CSS files</LI>
+
** index.php
<LI>Create an image with your logo, and save it into the images folder. Delete the mw_joomla_logo.png file</LI>
+
** templateDetails.xml
<LI>open css/template.css > edit div#logo style updating the background: url to point to your file</LI>
+
: 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.
<LI>edit templateDetails.xml to replace the mw_joomla_logo.png file with yours.</LI>
+
* Create an image with your logo, and save it into the images folder. Delete the mw_joomla_logo.png file
<LI>zip your template directory</LI>
+
* open css/template.css > edit div#logo style updating the background: url to point to your file
<LI>go to the extension manager, select the zipped directory and install the package</LI>
+
* edit templateDetails.xml to replace the mw_joomla_logo.png file with yours.
<LI>assign the template, and preview!</LI>
+
* zip your template directory
</UL>
+
* go to the extension manager, select the zipped directory and install the package
 +
* 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!