Template changes for Joomla 1.6

110,931 views
110,729 views

Published on

Some information gathered from various sources on likely issues that people will face when upgrading Joomla templates from version 1.5 to version 1.6.

Published in: Technology, Business
1 Comment
11 Likes
Statistics
Notes
No Downloads
Views
Total views
110,931
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
794
Comments
1
Likes
11
Embeds 0
No embeds

No notes for slide

Template changes for Joomla 1.6

  1. 1. Template changes for Joomla 1.6 Chris Davenport Web developer Clickingmad Limited www.clickingmad.com
  2. 2. Will it hurt? Answer: It depends
  3. 3. Layout overrides
  4. 4. Layout overrides
  5. 5. Layout overrides
  6. 6. Layout overrides
  7. 7. Layout overrides
  8. 8. jos_components jos_modules jos_plugins jos_extensions Templates Plugins Modules Components Libraries Joomla 1.5 Joomla 1.6 Joomla 1.6 unified installer
  9. 9. Template discovery
  10. 10. Changes to templateDetails.xml – 1 <!DOCTYPE install PUBLIC "-//Joomla! 1.6//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd"> <!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.5/template-install.dtd"> Joomla 1.5: Joomla 1.6: Only needed if you want to validate the XML
  11. 11. Joomla 1.5: <install version="1.5" type="template"> Joomla 1.6: <extension version="1.6" type="template" client="site"> Changes to templateDetails.xml – 2 The old “install” tag will work in 1.6 but it is deprecated, which means that support for it will be removed in the next version.
  12. 12. <params> <param name="colour" type="text" default="blue" label="Colour" description="Choose your colour" /> </params> <config> <fields name="params"> <fieldset name="advanced"> <field name="colour" type="text" default="blue" label="Colour" description="Choose your colour" /> </fieldset> </fields> </config> Joomla 1.5 Joomla 1.6 params fields param field addPath addFormPath Changes to templateDetails.xml – 3 Joomla 1.5: Joomla 1.6:
  13. 13. Not to be confused with CSS styles A 1.5 template installed in 1.6 will automatically be given a “default” style Template “styles” Access to template parameters should be backwards-compatible jos_template_styles Joomla 1.5: Joomla 1.6: params.ini params.ini params.ini params.ini params.ini
  14. 14. Changes to language definition files http://docs.joomla.org/International_Enhancements_for_Version_1.6 Lots of changes have been made to language support in 1.6 ALL language INI files will need to be reformatted Any language string can now be overridden using site-wide language overrides Reason: Performance. The native INI parser is much, much faster than the old parser
  15. 15. Joomla 1.5 Joomla 1.6 Templates in the Joomla distribution Milky Way Milky Way Beez Beez 2 Beez 5 (HTML 5 version of Beez) JA_Purity Atomic (new training template) Khepri Bluestork (new default administrator template) Hathor (new accessible administrator template) (dropped)
  16. 16. Module position Milky Way Beez 2 Beez 5 position-0,1,2,3,4,5 Yes Yes Yes position-6 Yes Yes position-7,8,9,10 Yes Yes Yes position-11,12,14 Yes Yes Yes position-15 Yes debug Yes Yes Yes top Yes breadcrumb Yes left Yes right Yes user1,2,3,4 Yes syndicate Yes footer Yes Module position Atomic atomic-search Yes atomic-topmenu Yes atomic-topquote Yes atomic-bottomleft Yes atomic-bottommiddle Yes atomic-sidebar Yes Changes to naming of module positions
  17. 17. JavaScript changes Joomla 1.5.0 to 1.5.18 shipped with MooTools 1.1 Joomla 1.5.19 onwards shipped with MooTools 1.2.4, but the plugin is disabled by default Joomla 1.6.0 will ship with MooTools 1.3
  18. 18. API changes Joomla 1.5: Joomla 1.6: global $mainframe; $mainframe = JFactory::getApplication(); Others? Please add to http://docs.joomla.org/Upgrading_a_template_from_1.5_to_1.6
  19. 19. Questions?
  20. 20. http://clickingmad.com
  21. 21. This presentation is available for use under the Joomla! Electronic Documentation License http://docs.joomla.org/JEDL Copyright © 2010 Chris Davenport

×