Difference between revisions of "How to add breadcrumbs"

From Joomla! Documentation

m (added Category:Tutorials using HotCat)
Line 8: Line 8:
[[Category:Component Development]]
[[Category:Component Development]]

Revision as of 21:17, 7 June 2013

What is a breadcrumb?

Breadcrumbs are nice way to display the connection from the root. It gives you a hierarchical representation with click able links so that user can visit upper links easily. Breadcrumbs can be added in templates by using the object returned by $mainframe->getPathWay(). The member function addItem() allows to add a breadcrumb with the title of choice.

Developer Tutorials