16
© 2005-2013 New Life in IT Pty Ltd - Visit learn.theartofjoomla.com to learn more about Joomla! This set of slides documents many of the features included in the Protostar template that is distributed with Joomla 3. It includes the module layout and positions for Protostar and its custom module chrome. A Guide for Joomla 3’s Protostar Template

A Guide for Joomla 3's Protostar Template

Embed Size (px)

DESCRIPTION

This set of slides documents many of the features included in the Protostar template that is distributed with Joomla 3. It includes the module layout and positions for Protostar; the custom module styles included in the template; the nav-pills, nav-list and nav-tabs menu styles; the error page; and the component (usually used in popup windows) page.

Citation preview

Page 1: A Guide for Joomla 3's Protostar Template

© 2005-2013 New Life in IT Pty Ltd - Visit learn.theartofjoomla.com to learn more about Joomla!

This set of slides documents many of the features included in the Protostar template that is distributed with Joomla 3. It includes the module layout and positions for Protostar and its custom module chrome.

A Guide for Joomla 3’s Protostar Template

Page 2: A Guide for Joomla 3's Protostar Template

Protostar Module Positions and Styles (Chrome)

Page 3: A Guide for Joomla 3's Protostar Template

Protostar module positions.

Page 4: A Guide for Joomla 3's Protostar Template

<!-- Display code if module content is not empty. --> <div class="well {{Module Class Suffix}}"> <!-- Display title if set. --> <h3 class="page-header">{{Module Title}}</h3> {{Module Content}}</div>

Module Style “well”

Protostar’s “well” style is almost identical to the built-in “xhtml” style, except that it uses the “well” class instead of “moduletable”. Note the space between “well” and the module class suffix.The “well” class is controlled in less/template.less and the less/variables.less.

Page 5: A Guide for Joomla 3's Protostar Template

<!-- If the module content is set. -->{{Module Content}}

Module Style - “no”

Protostar’s “no” style is identical to the built-in “none” style. It will simply echo the module content if there is any without displaying the module title.

Page 6: A Guide for Joomla 3's Protostar Template

Protostar Menu Styles

Page 7: A Guide for Joomla 3's Protostar Template

This gives you a feel of the sample data used to produce the menus.

Page 8: A Guide for Joomla 3's Protostar Template

Standard menu module display in the “position-8” (left) or “position-7” (right) positions. No menu class suffix is applied.

Page 9: A Guide for Joomla 3's Protostar Template

The “nav-pills” menu style. Works best in “position-1”. It supports a drop-down for the second level items only. Remember to include a space before the class suffix.

Page 10: A Guide for Joomla 3's Protostar Template

The “nav-pills” menu style. It supports a drop-down for the second level items only.Remember to include a space before the class suffix.

Page 11: A Guide for Joomla 3's Protostar Template

The “nav-list” menu style. It only highlights the top level menu item.Remember to include a space before the class suffix.

Page 12: A Guide for Joomla 3's Protostar Template

Other Protostar Pages

Page 13: A Guide for Joomla 3's Protostar Template

Protostar’s error page (/templates/protostar/error.php). Note that the page expects that a module with a title of “Search” exists. An error will result if it does not exist.

A module named “Search”.

A module named “Search”.

Page 14: A Guide for Joomla 3's Protostar Template

Protostar’s component or modal page (/templates/protostar/component.php). This can be seen by adding “?tmpl=component” to the URL. Note that there is no padding on the left of right of the layout.

Page 15: A Guide for Joomla 3's Protostar Template

• kyleledbetter.com/jui/

Further Reading

Page 16: A Guide for Joomla 3's Protostar Template

it’s not the endit’s just the beginning ...learn.theartofjoomla.com