68
Joomla Templates

Joomla templates2011

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Joomla templates2011

Joomla Templates

Page 2: Joomla templates2011

Introduction● What we're covering today

Page 3: Joomla templates2011

Introduction● What we're covering today● My template experience

Page 4: Joomla templates2011

Introduction● What we're covering today● My template experience● Why Joomla templates are awesome

Page 5: Joomla templates2011

What Are Joomla Templates?

Page 6: Joomla templates2011

What Are Joomla Templates?● Front-End Templates

Page 7: Joomla templates2011

What Are Joomla Templates?● Front-End Templates● Administrator Templates

Page 8: Joomla templates2011

What Are Joomla Templates?● Front-End Templates● Administrator Templates● At its core, an index.php file and a

templateDetails.xml file

Page 9: Joomla templates2011

How to Start Learning About Joomla Templates

Page 10: Joomla templates2011

How to Start Learning About Joomla Templates

● Default Joomla templates (Atomic and Beez)

Page 11: Joomla templates2011

How to Start Learning About Joomla Templates

● Default Joomla templates (Atomic and Beez)● docs.joomla.org/Templates

Page 12: Joomla templates2011

How to Start Learning About Joomla Templates

● Default Joomla templates (Atomic and Beez)● docs.joomla.org/Templates● Online resources (Lynda.com, Jenn Kramer,

etc.)

Page 13: Joomla templates2011

Types of Template Implementations

Page 14: Joomla templates2011

Types of Template Implementations● Joomla core templates

Page 15: Joomla templates2011

Types of Template Implementations● Joomla core templates● Third-party templates

Page 16: Joomla templates2011

Types of Template Implementations● Joomla core templates● Third-party templates● Template frameworks

Page 17: Joomla templates2011

Types of Template Implementations● Joomla core templates● Third-party templates● Template frameworks

● Caveat: Not for clients

Page 18: Joomla templates2011

Types of Template Implementations● Joomla core templates● Third-party templates● Template frameworks

● Caveat: Not for clients● Bespoke (custom) templates

Page 19: Joomla templates2011

Bespoke Templates

Page 20: Joomla templates2011

Bespoke Templates● Most often employed for custom design

Page 21: Joomla templates2011

Bespoke Templates● Most often employed for custom design● Best way to learn about templates is to develop

one from scratch

Page 22: Joomla templates2011

Bespoke Templates● Most often employed for custom design● Best way to learn about templates is to develop

one from scratch● The most critical skills for bespoke template

development are …

Page 23: Joomla templates2011

Bespoke Template Ingredients

Page 24: Joomla templates2011

Bespoke Template Ingredients● A defined brand

Page 25: Joomla templates2011

Bespoke Template Ingredients● A defined brand● Explicit publishing standards

Page 26: Joomla templates2011

Bespoke Template Ingredients● A defined brand● Explicit publishing standards● A Web site taxonomy (or equivalent)

Page 27: Joomla templates2011

Bespoke Template Ingredients● A defined brand● Explicit publishing standards● A Web site taxonomy (or equivalent)● A well-managed client

Page 28: Joomla templates2011

Bespoke Template Ingredients● A defined brand● Explicit publishing standards● A Web site taxonomy (or equivalent)● A well-managed client● A development process

Page 29: Joomla templates2011

Bespoke Template Development Process

Page 30: Joomla templates2011

Bespoke Template Development Process

● Create graphical conceptions for the site's “packaging design” based on finalized taxonomy and defined brand

Page 31: Joomla templates2011

Bespoke Template Development Process

● Create graphical conceptions for the site's “packaging design” based on finalized taxonomy and defined brand

● Conduct review/revision until signoff on finalized packaging design

Page 32: Joomla templates2011

Bespoke Template Development Process

● Create graphical conceptions for the site's “packaging design” based on finalized taxonomy and defined brand

● Conduct review/revision until signoff on finalized packaging design

● Slice-and-dice into HTML layout, then test

Page 33: Joomla templates2011

Bespoke Template Development Process

● Create graphical conceptions for the site's “packaging design” based on finalized taxonomy and defined brand

● Conduct review/revision until signoff on finalized packaging design

● Slice-and-dice into HTML layout, then test● Convert to index.php and related Joomla

template files

Page 34: Joomla templates2011

Bespoke Template Development Process

● Create graphical conceptions for the site's “packaging design” based on finalized taxonomy and defined brand

● Conduct review/revision until signoff on finalized packaging design

● Slice-and-dice into HTML layout, then test● Convert to index.php and related Joomla

template files● Zip, upload, test, refine and optimize

Page 35: Joomla templates2011

The Zen of Joomla Template Development

Page 36: Joomla templates2011

The Zen of Joomla Template Development

● “Outside In”● Primary packaging design● Layout regions● Fundamental design choices (fonts, colors, etc.)● Visual styles for module chrome

Page 37: Joomla templates2011

The Zen of Joomla Template Development

● “Outside In”● Primary packaging design● Layout regions● Fundamental design choices (fonts, colors, etc.)● Visual styles for module chrome

● “Inside Out”● Joomla component styles● Joomla component layouts● Custom content styles (linked up in WYSIWYG

editor)

Page 38: Joomla templates2011

Changes in Joomla 1.6/1.7+ Templating

Page 39: Joomla templates2011

Changes in Joomla 1.6/1.7+ Templating

● Now have template Styles● Saveable iterations of a primary template, based on

changed form values

Page 40: Joomla templates2011

Changes in Joomla 1.6/1.7+ Templating

● Now have template Styles● Saveable iterations of a primary template, based on

changed form values● Can customize template code through the

“Template Details” link

Page 41: Joomla templates2011

Changes in Joomla 1.6/1.7+ Templating

● Now have template Styles● Saveable iterations of a primary template, based on

changed form values● Can customize template code through the

“Template Details” link● Very similar to 1.5 templates, but

templateDetails.xml has some new syntax

Page 42: Joomla templates2011

HTML Overrides

Page 43: Joomla templates2011

HTML Overrides● Work just like in 1.5

Page 44: Joomla templates2011

HTML Overrides● Work just like in 1.5● Allow for custom layout/construction and total

control over nearly all component and module output

Page 45: Joomla templates2011

HTML Overrides● Work just like in 1.5● Allow for custom layout/construction and total

control over nearly all component and module output

● Great tutorial atdocs.joomla.org/Understanding_Output_Overrides

Page 46: Joomla templates2011

Alternate Layouts

Page 47: Joomla templates2011

Alternate Layouts● Specific overrides for selective application

Page 48: Joomla templates2011

Alternate Layouts● Specific overrides for selective application● Rename HTML override .php file, insert into

template, upload and assign

Page 49: Joomla templates2011

Alternate Layouts● Specific overrides for selective application● Rename HTML override .php file, insert into

template, upload and assign● Assign via the Joomla interface (menu item

parameters, Article options)

Page 50: Joomla templates2011

Alternate Layouts● Specific overrides for selective application● Rename HTML override .php file, insert into

template, upload and assign● Assign via the Joomla interface (menu item

parameters, Article options) ● Example at:

templates/beez5/html/com_contact/contact/encyclopedia.php

Page 51: Joomla templates2011

Alternate Layouts● Specific overrides for selective application● Rename HTML override .php file, insert into

template, upload and assign● Assign via the Joomla interface (menu item

parameters, Article options) ● Example at:

templates/beez5/html/com_contact/contact/encyclopedia.php

● Documentation at: docs.joomla.org/Layout_Overrides_in_Joomla_1.6

Page 52: Joomla templates2011

Template Parameters Form Fields

Page 53: Joomla templates2011

Template Parameters Form Fields● Options are defined in templateDetails.xml file

(<config> section)

Page 54: Joomla templates2011

Template Parameters Form Fields● Options are defined in templateDetails.xml file

(<config> section)● Shown when you edit a template Style

Page 55: Joomla templates2011

Template Parameters Form Fields● Options are defined in templateDetails.xml file

(<config> section)● Shown when you edit a template Style● Change some values, save a new Style, and

apply to site

Page 56: Joomla templates2011

Template Parameters Form Fields● Options are defined in templateDetails.xml file

(<config> section)● Shown when you edit a template Style● Change some values, save a new Style, and

apply to site● Makes it easier to work from a single “core”

template for your site, but still be very flexible

Page 57: Joomla templates2011

More About Template Form Fields

Page 58: Joomla templates2011

More About Template Form Fields● Options include all standard form field types

used in Joomla (see http://docs.joomla.org/Standard_form_field_types)

Page 59: Joomla templates2011

More About Template Form Fields● Options include all standard form field types

used in Joomla (see http://docs.joomla.org/Standard_form_field_types)● Can also program custom parameter types

Page 60: Joomla templates2011

More About Template Form Fields● Options include all standard form field types

used in Joomla (see http://docs.joomla.org/Standard_form_field_types)● Can also program custom parameter types

● Offers advanced tie-ins for template appearance, layout and behavior

Page 61: Joomla templates2011

More About Template Form Fields● Options include all standard form field types

used in Joomla (see http://docs.joomla.org/Standard_form_field_types)● Can also program custom parameter types

● Offers advanced tie-ins for template appearance, layout and behavior

● Values can tie into PHP code inside index.php

Page 62: Joomla templates2011

More About Template Form Fields● Options include all standard form field types

used in Joomla (see http://docs.joomla.org/Standard_form_field_types)● Can also program custom parameter types

● Offers advanced tie-ins for template appearance, layout and behavior

● Values can tie into PHP code inside index.php● Can be used for DIY frameworks

Page 63: Joomla templates2011

Template Form Field Example: Select Embeddable Web Font

Page 64: Joomla templates2011

Template Form Field Example: Select Embeddable Web Font

● templateDetails.xml field definition

Page 65: Joomla templates2011

Template Form Field Example: Select Embeddable Web Font

● templateDetails.xml field definition● index.php – pulls site title front value from form

Page 66: Joomla templates2011

Template Form Field Example: Select Embeddable Web Font

● templateDetails.xml field definition● index.php – pulls site title front value from form● index.php – embeds Web font code upon font

selection (Bulletproof @font-face syntax)

Page 67: Joomla templates2011

Template Form Field Example: Select Embeddable Web Font

● templateDetails.xml field definition● index.php – pulls site title front value from form● index.php – embeds Web font code upon font

selection (Bulletproof @font-face syntax)● index.php – assigns font style based on value

Page 68: Joomla templates2011

Thank You!● Justin Kerr; [email protected]