Hi, I have tried using the breadcrumb webpart, but it is far from what I need...
First, the breacrumb generate the html as follow:
<a class="CMSBreadCrumbsLink" href="index.aspx">fr</a>
<span class="CMSBreadCrumbsCurrentItem">mycurrentpage</span>
But there are a lot of things that are not correct.
First, I need my own CSS Classes to be used, not the CMS default classes.
Second, I need to use <ul> and <li>
Third, The "home" link that is generated is not even a valid page (should be something like "en/index.aspx").
I need something that looks like:
<ul id="breadcrumb">
<li class="first"><a href="en/index.aspx">Accueil (RootPage)</a></li>
<li><a href="en/items/index.aspx">Available items (ParentPage)</a></li>
<li class="active">DVDs (CurrentPage)</li>
</ul>
To resume, I don't think it is possible using the existing breadcrumb (I've looked a bit around), so I think I'll create my own. To start off, I need a way to get all sub nodes' page name and the index page url.
Example: if I am in page "mysite.com/en/folder1/folder2/page1.aspx", it should return me:
<ul id="breadcrumb">
<li class="first"><a href="en/index.aspx">Accueil</a></li>
<li><a href="en/folder1/index.aspx">Folder 1</a></li>
<li><a href="en/folder1/folder2/index.aspx">Folder 2</a></li>
<li class="active">Page 1</li>
</ul>
I know it seems a bit complicated, I just want to know if there's a workaround possible to do something like that.