If you can't read please download the document
Upload
chris-davenport
View
1.614
Download
4
Embed Size (px)
DESCRIPTION
Joomla basic template modifications presentation given at Joomla Day UK 2009 in Maidstone, Kent, UK.
Citation preview
2. Joomla! Day UK 2009 Basic Template Modifications Providing a flexible platform for digital publishing and collaboration. Chris Davenport Joomla! Core Team 3. Choosing a template Choose primarily for layout Ignore colour Ignore actual images, as long as image sizes are correct 4. Core templates Milky Way Beez JA Purity 5. Copying a core template
6. How to copy a template 1 Each template lives in a separate directory in the [joomla-root]/templates directory Copy the template directory Then paste it under a new name 7. How to copy a template 2 Copy xx-XX.tpl_[old-template].ini to xx-XX.tpl_[new-template].ini Look for language files in: [joomla-root]/language/xx-XX and [joomla-root]/administrator/language/xx-XX where xx-XX is the language code eg. en-GB is British English
8. How to copy a template 3 rhuk_milkyway 11/20/06Andy [email protected]://www.rockettheme.comGNU/GPL1.0.2TPL_RHUK_MILKYWAY Edit templateDetails.xml Change this to match the new directory name 9. How to copy a template 4
10. Tools 11. Web developer toolbar http://addons.mozilla.org/firefox/60/ 12. Template parameters 13. Changing logos and images
14. Changing the favicon
15. Layout overrides 16. Core CSS classes
17. Component CSS classes .componentheading .contentheading .small .createdate .modifydate .readon .contentheading With Beez overrides, this becomes .createdby 18. Use the tools 19. Finding module positions http://localhost/index.php ?tp=1 If there are already query parameters: http://localhost/index.php?option=com_content........&Itemid=27 &tp=1 Module position name Module chrome styles 20. Module chrome 21. Core chrome styles
22. Module chrome in action Module chrome: xhtml CSS class: moduletable Module chrome: xhtml Suffix: _text CSS class: moduletable_text Module chrome: rounded CSS class: module Module chrome: rounded Suffix: _menu CSS class: module_menu 23. Module Class Suffix