Actions

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.)
m (Made miscellaneous improvements)
(2 intermediate revisions by 2 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 31: Line 31:
  
 
[[Category:Procedures]]
 
[[Category:Procedures]]
 +
[[Category:Tutorials]]
 
[[Category:Beginners]]
 
[[Category:Beginners]]
[[Category:Templates]]
+
[[Category:Template Development]]

Revision as of 11:30, 14 January 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

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!