SlideShare a Scribd company logo
1 of 40
Download to read offline
Joomla! templa tes



  Presentation “Joomla! templates” - http://slideshare.net/yireo
  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
My na m e is Jisse Re itsma
Joomla! enthousiast
PHP programmer
Lead developer of Yireo
Joomla! templates-book (NL)




     and I like recursive jokes


                  Presentation “Joomla! templates” - http://slideshare.net/yireo
                  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
My presenta tion
Part I - Joomla! templating
Part II - Basic code
Part III - Advanced design



Slides: http://slideshare.net/yireo




                   Presentation “Joomla! templates” - http://slideshare.net/yireo
                   Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Pa rt I
Joomla! templa ting


  Presentation “Joomla! templates” - http://slideshare.net/yireo
  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Joomla! extensions
Components
Modules
Plugins
Templates
Libraries
Language packs




                 Presentation “Joomla! templates” - http://slideshare.net/yireo
                 Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Joomla! bootstrap
Component is loaded
Template is loaded
Modules are loaded
Component-output is added to template
Module-output is added to template




                 Presentation “Joomla! templates” - http://slideshare.net/yireo
                 Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Installa tion (1 /2)
Install a new template
    Installing ZIP-file using Extension Manager




                  Presentation “Joomla! templates” - http://slideshare.net/yireo
                  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Installa tion (2 /2)
Upload new template through FTP
   Use Discover-method in Extension Manager




                Presentation “Joomla! templates” - http://slideshare.net/yireo
                Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Templa te vs Styles
Template: Actual files on filesystem
Template Style: Configured set of options (parameters)




                 Presentation “Joomla! templates” - http://slideshare.net/yireo
                 Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Exa mple: Beez options




  Presentation “Joomla! templates” - http://slideshare.net/yireo
  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Mod ule positions




Presentation “Joomla! templates” - http://slideshare.net/yireo
Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Mod ule positions




Presentation “Joomla! templates” - http://slideshare.net/yireo
Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Menu assignm ent




Presentation “Joomla! templates” - http://slideshare.net/yireo
Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Ge t sta rted
Use existing template
    YOOtheme, RocketTheme, JoomlArt, JoomlaBamboo
Build your own template
    From scratch (hard-core)
    From existing framework
     –   Twitter Bootstrap
     –   Warp (YOOtheme), Zen (JoomlArt), Gantry (RocketTheme)




                  Presentation “Joomla! templates” - http://slideshare.net/yireo
                  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Pa rt II
      Basic c od e


Presentation “Joomla! templates” - http://slideshare.net/yireo
Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Templa te-files
templateDetails.xml                                    favicon.ico
index.php                                              index.html
css/template.css                                       error.php
less/template.css                                      component.php
images/                                                template_thumbnail.png
javascript/
languages/



                    Presentation “Joomla! templates” - http://slideshare.net/yireo
                    Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
templa teDe tails.xml (1 /3)




    Presentation “Joomla! templates” - http://slideshare.net/yireo
    Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
templa teDe tails.xml (2 /3)




    Presentation “Joomla! templates” - http://slideshare.net/yireo
    Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
templa teDe tails.xml (3 /3)




    Presentation “Joomla! templates” - http://slideshare.net/yireo
    Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
templa teDe tails.xml Pa rts
<name>
<author*> + <creationDate>
<copyright> + <license>
<description>
<files> (<filename> + <folder>)
<positions>
<languages>
<config>




           Presentation “Joomla! templates” - http://slideshare.net/yireo
           Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
ind ex.php (1 /3)




Presentation “Joomla! templates” - http://slideshare.net/yireo
Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
ind ex.php (2 /3)




Presentation “Joomla! templates” - http://slideshare.net/yireo
Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
ind ex.php (3 /3)




Presentation “Joomla! templates” - http://slideshare.net/yireo
Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
ind ex.php Pa rts
HTML-code
PHP-code
<jdoc>-tags




              Presentation “Joomla! templates” - http://slideshare.net/yireo
              Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
jdoc-tags
<jdoc:include type=”head” />
<jdoc:include type=”component” />
<jdoc:include type=”message” />
<jdoc:include type=”modules” name=”position­a” />
<jdoc:include type=”modules” name=”position­b” />
<jdoc:include type=”modules” name=”position­c” />
<jdoc:include type=”modules” name=”position­d” />
<jdoc:include type=”modules” name=”position­e”    
                style=”custom” headerLevel=”3” />




             Presentation “Joomla! templates” - http://slideshare.net/yireo
             Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Pre view mod ule positions




    Presentation “Joomla! templates” - http://slideshare.net/yireo
    Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
PHP-c od e
Base variables
    $this­>template, $this­>language, $this­>baseurl
Parameters
    $app = JFactory::getApplication();
    $templateparams = $app­>getTemplate(true)­>params;
    echo $templateparams­>get('color')
if-else
    Yireo Template Helper



                  Presentation “Joomla! templates” - http://slideshare.net/yireo
                  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Pa rt III
A dva nced c oncepts


   Presentation “Joomla! templates” - http://slideshare.net/yireo
   Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Templa ting
Template overrides / output overrides
    HTML5 compatibility
    Microdata
    Code stripping
Custom error.php
Additional module-chromes




                     Presentation “Joomla! templates” - http://slideshare.net/yireo
                     Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Outd a ted stuf f
HTML4 coding (<b>, <font>, <i>)
XHTML 1.0 / XHTML 1.1
Table-based design
From PhotoShop to webdesign
Box-model




                 Presentation “Joomla! templates” - http://slideshare.net/yireo
                 Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Mod er n stuf f
HTML5 + CSS3
Responsive design, CSS frameworks
From content to webdesign to PhotoShop
Grid-model




                Presentation “Joomla! templates” - http://slideshare.net/yireo
                Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Box vs Grid
Box-model
   Ask your designer to create a PSD
   Convert design into boxes as good as you can


Grid-model
   Start with a grid
   Determine what can go where
   Ask your designer to create a PSD


                   Presentation “Joomla! templates” - http://slideshare.net/yireo
                   Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Wha t first?
Design first?
Mobile first?
    Wireframing?
Content first?
    GatherContent




                    Presentation “Joomla! templates” - http://slideshare.net/yireo
                    Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
Twitter Bootstrap
Used in Joomla! 3.0 backend
New standard for templates and extensions
Generic way of defining HTML-code
Standardized CSS-code and jQuery-effects




                Presentation “Joomla! templates” - http://slideshare.net/yireo
                Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
LESS & SASS
Used in Twitter Bootstrap
Better syntax than CSS
    Hierarchy, variables, patterns, quirks
Convert into CSS
    Using JavaScript helper
    Using PHP LESS or SASS compiler




                    Presentation “Joomla! templates” - http://slideshare.net/yireo
                    Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
CSS fra m ewor ks
Twitter Bootstrap
960s, 1140s
Foundation Zurp
ZASS (uses SASS)




                    Presentation “Joomla! templates” - http://slideshare.net/yireo
                    Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
In short
Part 1: Joomla! templating
   Discovery; Copy templates; Templates vs Styles

Part 2: Basic code
   JDOC-tags; XML-definition; PHP-parameters

Part 3: Advanced design concepts
   HTML5, Responsive design, Box vs Grid,
   CSS-frameworks (Bootstrap, 960s), jQuery effects




                  Presentation “Joomla! templates” - http://slideshare.net/yireo
                  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
so fa r, a ny questions?




  Presentation “Joomla! templates” - http://slideshare.net/yireo
  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
som e Yireo extensions

             SSLRedirect (Joomla! plugin)
          Enforce HTTPS on specific pages



  Dynamic404: (Joomla! component + plugin)
  Replace ugly 404-page with decent error-page;
  Search database automatically for possible 404-matches




  Presentation “Joomla! templates” - http://slideshare.net/yireo
  Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
#JUG076-templa te


 15 Euro discount
on any Yireo extension
until 31 December 2012




       Presentation “Joomla! templates” - http://slideshare.net/yireo
       Jisse Reitsma (jisse@yireo.com) - Twitter @yireo

More Related Content

What's hot

Wordpress for Newbies 2010-03-27
Wordpress for Newbies 2010-03-27Wordpress for Newbies 2010-03-27
Wordpress for Newbies 2010-03-27Shannon Smith
 
Bootstrap - Web Development Framework
Bootstrap - Web Development FrameworkBootstrap - Web Development Framework
Bootstrap - Web Development FrameworkCindy Royal
 
How to Blog - #ACR14 Social Media Bootcamp
How to Blog - #ACR14  Social Media BootcampHow to Blog - #ACR14  Social Media Bootcamp
How to Blog - #ACR14 Social Media BootcampPaul Sufka
 
[Access U 2010] HTML5 & Accessibility
[Access U 2010] HTML5 & Accessibility[Access U 2010] HTML5 & Accessibility
[Access U 2010] HTML5 & AccessibilityChristopher Schmitt
 
Accessibility with WordPress
Accessibility with WordPressAccessibility with WordPress
Accessibility with WordPressJoseph Dolson
 
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. FoundationBattle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. FoundationRachel Cherry
 

What's hot (6)

Wordpress for Newbies 2010-03-27
Wordpress for Newbies 2010-03-27Wordpress for Newbies 2010-03-27
Wordpress for Newbies 2010-03-27
 
Bootstrap - Web Development Framework
Bootstrap - Web Development FrameworkBootstrap - Web Development Framework
Bootstrap - Web Development Framework
 
How to Blog - #ACR14 Social Media Bootcamp
How to Blog - #ACR14  Social Media BootcampHow to Blog - #ACR14  Social Media Bootcamp
How to Blog - #ACR14 Social Media Bootcamp
 
[Access U 2010] HTML5 & Accessibility
[Access U 2010] HTML5 & Accessibility[Access U 2010] HTML5 & Accessibility
[Access U 2010] HTML5 & Accessibility
 
Accessibility with WordPress
Accessibility with WordPressAccessibility with WordPress
Accessibility with WordPress
 
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. FoundationBattle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
 

Viewers also liked

Open Resources for Open Presentations
Open Resources for Open PresentationsOpen Resources for Open Presentations
Open Resources for Open PresentationsOpen.Ed
 
ATA 2009 Seminar U Dierk Seeburg
ATA 2009 Seminar U Dierk SeeburgATA 2009 Seminar U Dierk Seeburg
ATA 2009 Seminar U Dierk SeeburgDierk Seeburg
 
Cybersecurity overview - Open source compliance seminar
Cybersecurity overview - Open source compliance seminarCybersecurity overview - Open source compliance seminar
Cybersecurity overview - Open source compliance seminarRogue Wave Software
 
Bill McCluggage - Government's Drive For The Adoption of Open Standards and O...
Bill McCluggage - Government's Drive For The Adoption of Open Standards and O...Bill McCluggage - Government's Drive For The Adoption of Open Standards and O...
Bill McCluggage - Government's Drive For The Adoption of Open Standards and O...Squiz
 
Joomla! security
Joomla! securityJoomla! security
Joomla! securityYireo
 
Joomla 3 installation and management guide
Joomla 3 installation and management guideJoomla 3 installation and management guide
Joomla 3 installation and management guideSingsys Pte Ltd
 
Joomla! Plugin Development
Joomla! Plugin DevelopmentJoomla! Plugin Development
Joomla! Plugin DevelopmentYireo
 
Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3Rod Martin
 
Open source technologies
Open source technologiesOpen source technologies
Open source technologiesankita9765
 
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...Eric Sembrat
 
Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...
Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...
Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...cresco
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal BasicsJuha Niemi
 
Opensource Powerpoint Review.Ppt
Opensource Powerpoint Review.PptOpensource Powerpoint Review.Ppt
Opensource Powerpoint Review.PptViet NguyenHoang
 
Open source Software: pros and cons
Open source Software: pros and consOpen source Software: pros and cons
Open source Software: pros and consygpriya
 
Power Point Presentation on Open Source Software
Power Point Presentation on Open Source Software Power Point Presentation on Open Source Software
Power Point Presentation on Open Source Software opensourceacademy
 

Viewers also liked (20)

Open Resources for Open Presentations
Open Resources for Open PresentationsOpen Resources for Open Presentations
Open Resources for Open Presentations
 
ATA 2009 Seminar U Dierk Seeburg
ATA 2009 Seminar U Dierk SeeburgATA 2009 Seminar U Dierk Seeburg
ATA 2009 Seminar U Dierk Seeburg
 
Cybersecurity overview - Open source compliance seminar
Cybersecurity overview - Open source compliance seminarCybersecurity overview - Open source compliance seminar
Cybersecurity overview - Open source compliance seminar
 
Bill McCluggage - Government's Drive For The Adoption of Open Standards and O...
Bill McCluggage - Government's Drive For The Adoption of Open Standards and O...Bill McCluggage - Government's Drive For The Adoption of Open Standards and O...
Bill McCluggage - Government's Drive For The Adoption of Open Standards and O...
 
Joomla! security
Joomla! securityJoomla! security
Joomla! security
 
Joomla 3 installation and management guide
Joomla 3 installation and management guideJoomla 3 installation and management guide
Joomla 3 installation and management guide
 
Joomla! Plugin Development
Joomla! Plugin DevelopmentJoomla! Plugin Development
Joomla! Plugin Development
 
Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3
 
Open source technologies
Open source technologiesOpen source technologies
Open source technologies
 
Joomla 3 and Beyond
Joomla 3 and BeyondJoomla 3 and Beyond
Joomla 3 and Beyond
 
Beginners Guide to Drupal
Beginners Guide to DrupalBeginners Guide to Drupal
Beginners Guide to Drupal
 
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
January 2017 - WPCampus Online - Learning from Drupal: Implementing WordPress...
 
Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...
Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...
Students of Navgujarat College of Computer Applications, Ahmedabad felt excit...
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal Basics
 
Opensource Powerpoint Review.Ppt
Opensource Powerpoint Review.PptOpensource Powerpoint Review.Ppt
Opensource Powerpoint Review.Ppt
 
Joomla Presentations
Joomla PresentationsJoomla Presentations
Joomla Presentations
 
Joomla - CMS
Joomla - CMSJoomla - CMS
Joomla - CMS
 
Open source Software: pros and cons
Open source Software: pros and consOpen source Software: pros and cons
Open source Software: pros and cons
 
Power Point Presentation on Open Source Software
Power Point Presentation on Open Source Software Power Point Presentation on Open Source Software
Power Point Presentation on Open Source Software
 
Open Source Technology
Open Source TechnologyOpen Source Technology
Open Source Technology
 

Similar to Joomla! templating

Extend Joomla Forms Using Plugins
Extend Joomla Forms Using PluginsExtend Joomla Forms Using Plugins
Extend Joomla Forms Using PluginsYireo
 
Joomla! and SSL
Joomla! and SSLJoomla! and SSL
Joomla! and SSLYireo
 
Customizing Magento email templates
Customizing Magento email templatesCustomizing Magento email templates
Customizing Magento email templatesYireo
 
HTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ SearchcampHTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ SearchcampJames Mills
 
Create / Modification of templates for Joomla! At Joomla! Day Spain 2012
Create / Modification of templates for Joomla!  �At Joomla! Day Spain 2012Create / Modification of templates for Joomla!  �At Joomla! Day Spain 2012
Create / Modification of templates for Joomla! At Joomla! Day Spain 2012Saurabh Shah
 
Joomla! versus Magento
Joomla! versus MagentoJoomla! versus Magento
Joomla! versus MagentoYireo
 
LIS3353 SP12 Week 4
LIS3353 SP12 Week 4LIS3353 SP12 Week 4
LIS3353 SP12 Week 4Amanda Case
 
HTML CSS Best Practices
HTML CSS Best PracticesHTML CSS Best Practices
HTML CSS Best Practiceshoctudau
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopBrendan Sera-Shriar
 
Saigon Wordpress Meetup - Themes Wordpress Meetup
Saigon Wordpress Meetup - Themes Wordpress MeetupSaigon Wordpress Meetup - Themes Wordpress Meetup
Saigon Wordpress Meetup - Themes Wordpress MeetupTriết Sài Gòn
 
Joomla Multilinguality
Joomla MultilingualityJoomla Multilinguality
Joomla MultilingualityYireo
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
Build joomla!-template-with-ja-t3-framwork-2.0
Build joomla!-template-with-ja-t3-framwork-2.0Build joomla!-template-with-ja-t3-framwork-2.0
Build joomla!-template-with-ja-t3-framwork-2.0arnon dechpala
 
Be nice to your designers
Be nice to your designersBe nice to your designers
Be nice to your designersPai-Cheng Tao
 
Intro to Front-End Web Devlopment
Intro to Front-End Web DevlopmentIntro to Front-End Web Devlopment
Intro to Front-End Web Devlopmentdamonras
 
Fronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateFronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateInventis Web Architects
 

Similar to Joomla! templating (20)

Extend Joomla Forms Using Plugins
Extend Joomla Forms Using PluginsExtend Joomla Forms Using Plugins
Extend Joomla Forms Using Plugins
 
Joomla! and SSL
Joomla! and SSLJoomla! and SSL
Joomla! and SSL
 
Customizing Magento email templates
Customizing Magento email templatesCustomizing Magento email templates
Customizing Magento email templates
 
HTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ SearchcampHTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ Searchcamp
 
Create / Modification of templates for Joomla! At Joomla! Day Spain 2012
Create / Modification of templates for Joomla!  �At Joomla! Day Spain 2012Create / Modification of templates for Joomla!  �At Joomla! Day Spain 2012
Create / Modification of templates for Joomla! At Joomla! Day Spain 2012
 
Joomla! versus Magento
Joomla! versus MagentoJoomla! versus Magento
Joomla! versus Magento
 
Joomla Templates101
Joomla Templates101Joomla Templates101
Joomla Templates101
 
HTML5 and Joomla! 2.5 Template
HTML5 and Joomla! 2.5 TemplateHTML5 and Joomla! 2.5 Template
HTML5 and Joomla! 2.5 Template
 
LIS3353 SP12 Week 4
LIS3353 SP12 Week 4LIS3353 SP12 Week 4
LIS3353 SP12 Week 4
 
HTML CSS Best Practices
HTML CSS Best PracticesHTML CSS Best Practices
HTML CSS Best Practices
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute Workshop
 
Saigon Wordpress Meetup - Themes Wordpress Meetup
Saigon Wordpress Meetup - Themes Wordpress MeetupSaigon Wordpress Meetup - Themes Wordpress Meetup
Saigon Wordpress Meetup - Themes Wordpress Meetup
 
Joomla Multilinguality
Joomla MultilingualityJoomla Multilinguality
Joomla Multilinguality
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
Seven deadly theming sins
Seven deadly theming sinsSeven deadly theming sins
Seven deadly theming sins
 
Build joomla!-template-with-ja-t3-framwork-2.0
Build joomla!-template-with-ja-t3-framwork-2.0Build joomla!-template-with-ja-t3-framwork-2.0
Build joomla!-template-with-ja-t3-framwork-2.0
 
Be nice to your designers
Be nice to your designersBe nice to your designers
Be nice to your designers
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Intro to Front-End Web Devlopment
Intro to Front-End Web DevlopmentIntro to Front-End Web Devlopment
Intro to Front-End Web Devlopment
 
Fronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateFronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-template
 

More from Yireo

Faster Magento Integration Tests
Faster Magento Integration TestsFaster Magento Integration Tests
Faster Magento Integration TestsYireo
 
Mage-OS Nederland
Mage-OS NederlandMage-OS Nederland
Mage-OS NederlandYireo
 
Modernizing Vue Storefront 1
Modernizing Vue Storefront 1Modernizing Vue Storefront 1
Modernizing Vue Storefront 1Yireo
 
Magento 2 Seminar - Peter-Jaap Blaakmeer - VR-webshop
Magento 2 Seminar - Peter-Jaap Blaakmeer - VR-webshopMagento 2 Seminar - Peter-Jaap Blaakmeer - VR-webshop
Magento 2 Seminar - Peter-Jaap Blaakmeer - VR-webshopYireo
 
Magento 2 Seminar - Toon van Dooren - Varnish in Magento 2
Magento 2 Seminar - Toon van Dooren - Varnish in Magento 2Magento 2 Seminar - Toon van Dooren - Varnish in Magento 2
Magento 2 Seminar - Toon van Dooren - Varnish in Magento 2Yireo
 
Magento 2 Seminar - Andra Lungu - API in Magento 2
Magento 2 Seminar - Andra Lungu - API in Magento 2Magento 2 Seminar - Andra Lungu - API in Magento 2
Magento 2 Seminar - Andra Lungu - API in Magento 2Yireo
 
Magento 2 Seminar - Roger Keulen - Machine learning
Magento 2 Seminar - Roger Keulen - Machine learningMagento 2 Seminar - Roger Keulen - Machine learning
Magento 2 Seminar - Roger Keulen - Machine learningYireo
 
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and VarnishMagento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and VarnishYireo
 
Magento 2 Seminar - Maarten Schuiling - The App Economy
Magento 2 Seminar - Maarten Schuiling - The App EconomyMagento 2 Seminar - Maarten Schuiling - The App Economy
Magento 2 Seminar - Maarten Schuiling - The App EconomyYireo
 
Magento 2 Seminar - Jisse Reitsma - Magento 2 techniek vertalen naar voordelen
Magento 2 Seminar - Jisse Reitsma - Magento 2 techniek vertalen naar voordelenMagento 2 Seminar - Jisse Reitsma - Magento 2 techniek vertalen naar voordelen
Magento 2 Seminar - Jisse Reitsma - Magento 2 techniek vertalen naar voordelenYireo
 
Magento 2 Seminar - Sander Mangel - Van Magento 1 naar 2
Magento 2 Seminar - Sander Mangel - Van Magento 1 naar 2Magento 2 Seminar - Sander Mangel - Van Magento 1 naar 2
Magento 2 Seminar - Sander Mangel - Van Magento 1 naar 2Yireo
 
Magento 2 Seminar - Arjen Miedema - Search Engine Optimisation
Magento 2 Seminar - Arjen Miedema - Search Engine OptimisationMagento 2 Seminar - Arjen Miedema - Search Engine Optimisation
Magento 2 Seminar - Arjen Miedema - Search Engine OptimisationYireo
 
Magento 2 Seminar - Tjitte Folkertsma - Beaumotica
Magento 2 Seminar - Tjitte Folkertsma - BeaumoticaMagento 2 Seminar - Tjitte Folkertsma - Beaumotica
Magento 2 Seminar - Tjitte Folkertsma - BeaumoticaYireo
 
Magento 2 Seminar - Jeroen Vermeulen Snelle Magento 2 Shops
Magento 2 Seminar - Jeroen Vermeulen  Snelle Magento 2 ShopsMagento 2 Seminar - Jeroen Vermeulen  Snelle Magento 2 Shops
Magento 2 Seminar - Jeroen Vermeulen Snelle Magento 2 ShopsYireo
 
Magento 2 Seminar - Christian Muench - Magerun2
Magento 2 Seminar - Christian Muench - Magerun2Magento 2 Seminar - Christian Muench - Magerun2
Magento 2 Seminar - Christian Muench - Magerun2Yireo
 
Magento 2 Seminar - Anton Kril - Magento 2 Summary
Magento 2 Seminar - Anton Kril - Magento 2 SummaryMagento 2 Seminar - Anton Kril - Magento 2 Summary
Magento 2 Seminar - Anton Kril - Magento 2 SummaryYireo
 
Magento 2 Seminar - Daniel Genis - Magento 2 benchmarks
Magento 2 Seminar - Daniel Genis - Magento 2 benchmarksMagento 2 Seminar - Daniel Genis - Magento 2 benchmarks
Magento 2 Seminar - Daniel Genis - Magento 2 benchmarksYireo
 
Magento 2 Seminar - Ben Marks - Keynote
Magento 2 Seminar - Ben Marks - KeynoteMagento 2 Seminar - Ben Marks - Keynote
Magento 2 Seminar - Ben Marks - KeynoteYireo
 
Magento 2 Seminar - Community agenda
Magento 2 Seminar - Community agendaMagento 2 Seminar - Community agenda
Magento 2 Seminar - Community agendaYireo
 
Magento 2 Seminar - Jisse Reitsma - Migratie Planning
Magento 2 Seminar - Jisse Reitsma - Migratie PlanningMagento 2 Seminar - Jisse Reitsma - Migratie Planning
Magento 2 Seminar - Jisse Reitsma - Migratie PlanningYireo
 

More from Yireo (20)

Faster Magento Integration Tests
Faster Magento Integration TestsFaster Magento Integration Tests
Faster Magento Integration Tests
 
Mage-OS Nederland
Mage-OS NederlandMage-OS Nederland
Mage-OS Nederland
 
Modernizing Vue Storefront 1
Modernizing Vue Storefront 1Modernizing Vue Storefront 1
Modernizing Vue Storefront 1
 
Magento 2 Seminar - Peter-Jaap Blaakmeer - VR-webshop
Magento 2 Seminar - Peter-Jaap Blaakmeer - VR-webshopMagento 2 Seminar - Peter-Jaap Blaakmeer - VR-webshop
Magento 2 Seminar - Peter-Jaap Blaakmeer - VR-webshop
 
Magento 2 Seminar - Toon van Dooren - Varnish in Magento 2
Magento 2 Seminar - Toon van Dooren - Varnish in Magento 2Magento 2 Seminar - Toon van Dooren - Varnish in Magento 2
Magento 2 Seminar - Toon van Dooren - Varnish in Magento 2
 
Magento 2 Seminar - Andra Lungu - API in Magento 2
Magento 2 Seminar - Andra Lungu - API in Magento 2Magento 2 Seminar - Andra Lungu - API in Magento 2
Magento 2 Seminar - Andra Lungu - API in Magento 2
 
Magento 2 Seminar - Roger Keulen - Machine learning
Magento 2 Seminar - Roger Keulen - Machine learningMagento 2 Seminar - Roger Keulen - Machine learning
Magento 2 Seminar - Roger Keulen - Machine learning
 
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and VarnishMagento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
 
Magento 2 Seminar - Maarten Schuiling - The App Economy
Magento 2 Seminar - Maarten Schuiling - The App EconomyMagento 2 Seminar - Maarten Schuiling - The App Economy
Magento 2 Seminar - Maarten Schuiling - The App Economy
 
Magento 2 Seminar - Jisse Reitsma - Magento 2 techniek vertalen naar voordelen
Magento 2 Seminar - Jisse Reitsma - Magento 2 techniek vertalen naar voordelenMagento 2 Seminar - Jisse Reitsma - Magento 2 techniek vertalen naar voordelen
Magento 2 Seminar - Jisse Reitsma - Magento 2 techniek vertalen naar voordelen
 
Magento 2 Seminar - Sander Mangel - Van Magento 1 naar 2
Magento 2 Seminar - Sander Mangel - Van Magento 1 naar 2Magento 2 Seminar - Sander Mangel - Van Magento 1 naar 2
Magento 2 Seminar - Sander Mangel - Van Magento 1 naar 2
 
Magento 2 Seminar - Arjen Miedema - Search Engine Optimisation
Magento 2 Seminar - Arjen Miedema - Search Engine OptimisationMagento 2 Seminar - Arjen Miedema - Search Engine Optimisation
Magento 2 Seminar - Arjen Miedema - Search Engine Optimisation
 
Magento 2 Seminar - Tjitte Folkertsma - Beaumotica
Magento 2 Seminar - Tjitte Folkertsma - BeaumoticaMagento 2 Seminar - Tjitte Folkertsma - Beaumotica
Magento 2 Seminar - Tjitte Folkertsma - Beaumotica
 
Magento 2 Seminar - Jeroen Vermeulen Snelle Magento 2 Shops
Magento 2 Seminar - Jeroen Vermeulen  Snelle Magento 2 ShopsMagento 2 Seminar - Jeroen Vermeulen  Snelle Magento 2 Shops
Magento 2 Seminar - Jeroen Vermeulen Snelle Magento 2 Shops
 
Magento 2 Seminar - Christian Muench - Magerun2
Magento 2 Seminar - Christian Muench - Magerun2Magento 2 Seminar - Christian Muench - Magerun2
Magento 2 Seminar - Christian Muench - Magerun2
 
Magento 2 Seminar - Anton Kril - Magento 2 Summary
Magento 2 Seminar - Anton Kril - Magento 2 SummaryMagento 2 Seminar - Anton Kril - Magento 2 Summary
Magento 2 Seminar - Anton Kril - Magento 2 Summary
 
Magento 2 Seminar - Daniel Genis - Magento 2 benchmarks
Magento 2 Seminar - Daniel Genis - Magento 2 benchmarksMagento 2 Seminar - Daniel Genis - Magento 2 benchmarks
Magento 2 Seminar - Daniel Genis - Magento 2 benchmarks
 
Magento 2 Seminar - Ben Marks - Keynote
Magento 2 Seminar - Ben Marks - KeynoteMagento 2 Seminar - Ben Marks - Keynote
Magento 2 Seminar - Ben Marks - Keynote
 
Magento 2 Seminar - Community agenda
Magento 2 Seminar - Community agendaMagento 2 Seminar - Community agenda
Magento 2 Seminar - Community agenda
 
Magento 2 Seminar - Jisse Reitsma - Migratie Planning
Magento 2 Seminar - Jisse Reitsma - Migratie PlanningMagento 2 Seminar - Jisse Reitsma - Migratie Planning
Magento 2 Seminar - Jisse Reitsma - Migratie Planning
 

Joomla! templating

  • 1. Joomla! templa tes Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 2. My na m e is Jisse Re itsma Joomla! enthousiast PHP programmer Lead developer of Yireo Joomla! templates-book (NL) and I like recursive jokes Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 3. My presenta tion Part I - Joomla! templating Part II - Basic code Part III - Advanced design Slides: http://slideshare.net/yireo Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 4. Pa rt I Joomla! templa ting Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 5. Joomla! extensions Components Modules Plugins Templates Libraries Language packs Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 6. Joomla! bootstrap Component is loaded Template is loaded Modules are loaded Component-output is added to template Module-output is added to template Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 7. Installa tion (1 /2) Install a new template Installing ZIP-file using Extension Manager Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 8. Installa tion (2 /2) Upload new template through FTP Use Discover-method in Extension Manager Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 9. Templa te vs Styles Template: Actual files on filesystem Template Style: Configured set of options (parameters) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 10. Exa mple: Beez options Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 11. Mod ule positions Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 12. Mod ule positions Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 13. Menu assignm ent Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 14. Ge t sta rted Use existing template YOOtheme, RocketTheme, JoomlArt, JoomlaBamboo Build your own template From scratch (hard-core) From existing framework – Twitter Bootstrap – Warp (YOOtheme), Zen (JoomlArt), Gantry (RocketTheme) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 15. Pa rt II Basic c od e Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 16. Templa te-files templateDetails.xml favicon.ico index.php index.html css/template.css error.php less/template.css component.php images/ template_thumbnail.png javascript/ languages/ Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 17. templa teDe tails.xml (1 /3) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 18. templa teDe tails.xml (2 /3) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 19. templa teDe tails.xml (3 /3) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 20. templa teDe tails.xml Pa rts <name> <author*> + <creationDate> <copyright> + <license> <description> <files> (<filename> + <folder>) <positions> <languages> <config> Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 21. ind ex.php (1 /3) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 22. ind ex.php (2 /3) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 23. ind ex.php (3 /3) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 24. ind ex.php Pa rts HTML-code PHP-code <jdoc>-tags Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 26. Pre view mod ule positions Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 27. PHP-c od e Base variables $this­>template, $this­>language, $this­>baseurl Parameters $app = JFactory::getApplication(); $templateparams = $app­>getTemplate(true)­>params; echo $templateparams­>get('color') if-else Yireo Template Helper Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 28. Pa rt III A dva nced c oncepts Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 29. Templa ting Template overrides / output overrides HTML5 compatibility Microdata Code stripping Custom error.php Additional module-chromes Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 30. Outd a ted stuf f HTML4 coding (<b>, <font>, <i>) XHTML 1.0 / XHTML 1.1 Table-based design From PhotoShop to webdesign Box-model Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 31. Mod er n stuf f HTML5 + CSS3 Responsive design, CSS frameworks From content to webdesign to PhotoShop Grid-model Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 32. Box vs Grid Box-model Ask your designer to create a PSD Convert design into boxes as good as you can Grid-model Start with a grid Determine what can go where Ask your designer to create a PSD Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 33. Wha t first? Design first? Mobile first? Wireframing? Content first? GatherContent Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 34. Twitter Bootstrap Used in Joomla! 3.0 backend New standard for templates and extensions Generic way of defining HTML-code Standardized CSS-code and jQuery-effects Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 35. LESS & SASS Used in Twitter Bootstrap Better syntax than CSS Hierarchy, variables, patterns, quirks Convert into CSS Using JavaScript helper Using PHP LESS or SASS compiler Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 36. CSS fra m ewor ks Twitter Bootstrap 960s, 1140s Foundation Zurp ZASS (uses SASS) Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 37. In short Part 1: Joomla! templating Discovery; Copy templates; Templates vs Styles Part 2: Basic code JDOC-tags; XML-definition; PHP-parameters Part 3: Advanced design concepts HTML5, Responsive design, Box vs Grid, CSS-frameworks (Bootstrap, 960s), jQuery effects Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 38. so fa r, a ny questions? Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 39. som e Yireo extensions SSLRedirect (Joomla! plugin) Enforce HTTPS on specific pages Dynamic404: (Joomla! component + plugin) Replace ugly 404-page with decent error-page; Search database automatically for possible 404-matches Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 40. #JUG076-templa te 15 Euro discount on any Yireo extension until 31 December 2012 Presentation “Joomla! templates” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo