How to add breadcrumbs: Difference between revisions

From Joomla! Documentation

Tom Hutchison (talk | contribs)
Hutchy68 moved page How to add breadcrumbs to J1.5:How to add breadcrumbs: namespacing
 
Wilsonge (talk | contribs)
Hardcode language?
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[J1.5:How to add breadcrumbs]]
{{version/tutor|2.5,3.1}}
{{disambig}}
===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 <source lang="php">JFactory::getApplication()->getPathWay()</source>. The member function addItem() allows to add a breadcrumb with the title of choice.
 
===Developer Tutorials===
{{other versions/navbox/en|The '''{{PAGENAME}}''' Tutorial is available in these versions:-| version}}
 
[[Category:Component Development]]
[[Category:Tutorials]]

Latest revision as of 16:33, 26 January 2025

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

JFactory::getApplication()->getPathWay()

. The member function addItem() allows to add a breadcrumb with the title of choice.

Developer Tutorials