[All Adaptavist Apps]

The selected context is not a valid hierarchical page

Blog

We've released Beta 26 which has a refactored builder-breadcrumbs macro - here's some notes...

Confluence 2.8 will include far more semantic HTML markup than previous versions of the product so as of Theme Builder 3.0 beta 26 we've updated the builder-breadcrumbs macro to output semantic markup that is both compatible with Confluence 2.8 and will also work with previous versions of Confluence that Theme Builder 3.0 is compatible with. As usual, we've added some extra classes to allow custom styling of various elements in the breadcrumb trail.

The new HTML structure for the breadcrumbs is based on an ordered list as follows:

<div class="breadcrumbs">
 <span id="breadcrumb-display" class="breadcrumbs">
  <ol class="breadcrumbs">
   <li class="breadcrumb breadcrumb0">
    <a href="/dashboard.action">Dashboard</a> &gt;
   </li>
   <li class="breadcrumb breadcrumb1">
    <a href="/display/Builder">Theme Builder Plugin</a> &gt;
   </li>
   <li class="breadcrumb breadcrumb2">
    <a href="/display/Builder/Forum">Forum</a>
   </li>
   <li class="breadcrumb breadcrumb3">
    &gt;
    <a href="/display/Builder/Some+topic">Some topic</a>
   </li>
  </ol>
 </span>
</div>

In beta 26 you will need to add a little bit of extra CSS to your Custom CSS as follows:

ol.breadcrumbs {
 list-style: none;
 margin-top: 4px;
}
ol.breadcrumbs li {
 float: left;
}

This will convert the unordered list in to the more normal breadcrumb layout. The CSS will likely be included in the next release.

There will be some additional tweaks in the next beta (which will probably be the release), including a bug fix - for more details keep an eye on: http://jira.adaptavist.com/browse/BUILDER-928

1 Comment

  1. Unknown User (erutanlive)

    just made my comments in the jira issue.