Breadcrumb default setting

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
11/18/2011 4:57:52 PM
Gravatar
Total Posts 63
Jerry McCreary
SureFire Studios, Inc.

Breadcrumb default setting

Is there a way to change the default setting to show breadcrumbs to true for all pages in site?

(Sorry if this is answered elsewhere. I didn't find it addressed.)

Thanks.

11/18/2011 6:13:53 PM
Gravatar
Total Posts 63
Jerry McCreary
SureFire Studios, Inc.

Re: Breadcrumb default setting

Another question re: Breadcrumbs 
(This may should be posted in the developer forum ) 

Is it possible to NOT show the starting node on breadcrumbs (aside from the home page)?

I have two tiers of menus on my site. I want the breadcrumb to not show the first parent page.

For example, my sitemap structure is:

----------------------------------
Home
Tier One
- Section One
-- Page 1
-- Page 2
- Section Two
-- Page 3
-- Page 4
- Section Three
-- Page 5
-- Page 6
Tier Two
- Section Four
-- Page 7
-- Page 8
- Section Five
-- Page 9
-- Page 10

----------------------------------------

The SiteMapDataSource for my menus are...

<asp:SiteMapDataSource ID="SiteMapData" runat="server" ShowStartingNode="false"
StartingNodeUrl="~/Tier-One.aspx"  />

<asp:SiteMapDataSource ID="SiteMapData2" runat="server" ShowStartingNode="false"
StartingNodeUrl="~/TIer-Two.aspx"  />

Thus my main menu shows:
Section One |  Section Two | Section Three

The second menu shows:
Section Four | Section Five

My challenge now is to keep "Tier One" and "Tier Two" from starting their respective breadcrumb trails.

So for example, I need...   Section One > Page 1
instead of ...   Tier One > Section One > Page 1

Is there anyway to hide them? (or do I need to try a javascript hack?)

Sorry for the long post.  Thanks for any help/direction.

 

11/18/2011 6:37:26 PM
Gravatar
Total Posts 355

Re: Breadcrumb default setting

macfire,

the best way to manipulate your breadcrumb is by opening up the layout.master for your chosen skin, and working with the settings in the <portal:Breadcrumbs> tag.  You have a number of attributes available to control the behavior, such as 

AddedCrumbs
ForceShowBreadcrumbs
ForceShowChildPageBreadCrumbs
ShowHome
SuppresIfCurrentPageIsParent
UsePageCrumbOnly
UseTopParentCrumbOnly

I haven't used all of them, but I'm sure you can explore each one, and see if it meets your needs.

You must sign in to post in the forums. This thread is closed to new posts.