Table of Contents

txp:breadcrumb

The breadcrumb tag is a Single Tag which is used to create breadcrumb navigation. Its context is page or column and it provides either hyperlinked navigation, or plain text positional display, anytime you are off the Home page.

Syntax

The breadcrumb tag has the following syntactic structure…

<txp:breadcrumb />

Attributes

Tag will accept the following attributes (case-sensitive):

label="value"

This string will be prepended to the output. Default is Site name.

sep="value"

Character to be used as the breadcrumb seperator. Default is ».

title="boolean"

Whether to display title. Available values: 1 (yes) or 0 (no, display name). Default is 0.

link="value"

Whether to hyperlink breadcrumbs. Available values: y (yes) or n (no). Default is y (yes).

linkclass="class name"

(X)HTML class attribute applied to breadcrumb links. Default is noline.

class="class name"

(X)HTML class attribute applied to wraptag.

wraptag="tag"

(X)HTML tag (without brackets) to wrap around output. Default is p.

Examples

Display a hyperlinked breadcrumb trail

<txp:breadcrumb label="Navigation" sep="::" link="y" wraptag="p" />

Provides hyperlinks to sections or categories in breadcrumb style, linking back to your home page. (Breadcrumbs are not displayed on the “Default” section of your site)

Display a text only breadcrumb trail

<txp:breadcrumb label="Navigation" sep=":" link="n"  wraptag="p" />

Provides a breadcrumb guide that reflects where a user is within the site's navigation.