Breadcrumb quirk... or not?
Last Post 03/21/2007 1:20 PM by daveg955. 2 Replies.
Author Messages
daveg955
Nuke Master
Nuke Master
Posts:131


--
03/20/2007 7:10 PM

    Pardon me if I'm not using the proper terminology but I think you'll understand what I mean.

    I have a set of pages in the menu bar.  Each of these is a 'parent' page.  The names of these pages do not appear in the breadcrumbs but the child pages do... however, it does not show the path

    For example, There is an "Events" parent page with an "Ongoing Events" child page.  When clicking the "Events" page, the breadcrumb only shows .: :. but when I click the child page it shows .ngoing Events:. without referencing the parent page.

    I'm using a simple skin that I constructed after watching your videos.  It's based on the DNN blue horizontal fixed width skin.  I use VWD to tweak it.  There is no XML file associated with.

    Except for the breadcrumbs, I'm not having any difficulties.

    Thanks.

    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    03/21/2007 4:04 AM
    Hello,

    Your breadcrumbs need to be told which menu level they should start from, in your skin.xml file add:
    (Object)
            (Token>[BREADCRUMB](/Token>
            (Settings>
                (Setting>
                    (Name>Separator
                    (Value> >
                (/Setting>
                (Setting>
                    (Name>CssClass
                    (Value>Breadcrumbs
                (/Setting>
                (Setting>
                    (Name>RootLevel
                    (Value>0
                (/Setting>
            (/Settings>
        (/Object>


    Or if you are using an .ascx file use:

    < dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" Separator=" > " CssClass="Breadcrumbs" RootLevel="0" / >

    (NOTE: I've added spaces and brackets instead of < into the tags so that it shows in the forum)
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    daveg955
    Nuke Master
    Nuke Master
    Posts:131


    --
    03/21/2007 1:20 PM

    Many thanks, Lee. 

    I don't know where that errant smiley came from although it was approriate for my state of mind at the time.



    ---