Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Like this? Share it with your network

Share

Template changes for Joomla 1.6

  • 110,505 views
Uploaded 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.

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.

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
110,505
On Slideshare
69,076
From Embeds
41,429
Number of Embeds
32

Actions

Shares
Downloads
792
Comments
1
Likes
11

Embeds 41,429

http://cocoate.com 40,283
http://www.sergioiglesias.net 488
http://translate.googleusercontent.com 337
http://barsite.ru 77
http://joomlabasics.info 69
http://elearning.tadelformacion.com 40
http://www.barsite.ru 35
http://joomlabasics.co.cc 28
http://webcache.googleusercontent.com 22
http://www.espaceimmo.org 8
http://localhost 4
http://www.slideshare.net 4
http://translate.yandex.net 3
http://www.cocoate.com 3
http://bharat2.speedhost.in 3
http://www.c-site.ru 3
http://twitter.com 2
https://cocoate.com 2
http://cmink-stekom.blogspot.com 2
http://elearning.fatinafar.com 2
http://www.google.es 2
http://www.printwhatyoulike.com 2
http://static.slidesharecdn.com 1
http://anonymouse.org 1
http://hghltd.yandex.net 1
http://happykillyou.blogspot.com 1
http://paper.li 1
http://www.google.co.cr 1
http://wbms.yandex.net 1
http://ban-hrdb.gov.bd 1
http://207.46.192.232 1
http://www.google.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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