Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to show breadcrums in page layout?

poonam chaudhari March 20, 2012

Currently i am using following code

<div id="content" class="page $!mode">

<h2><a href="/display/conf/Home"><img src="/download/attachments/360487/m_Home.png" border="0"></a> ...> <a href="/display/$page.space.key">$page.space.name</a> > <a href="">$page.title</a></h2>

    #parse("/decorators/includes/page-content-includes.vm")

But does not show the whole page heirarchy.

How can i achive the heirarchy?

1 answer

0 votes
Andrew Frayling
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2012

Hi Poonam,

The Velocity code for displaying breadcrumbs is:

$!sitemeshPage.getProperty("page.breadcrumbs")

Hope that helps?

Andrew.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events