[TYPO3] Repeat Breadcrumb menu twice
maaboo
maaboo at gmail.com
Sat Aug 23 11:13:30 CEST 2008
Thanks to all, i did the following:
1. Created two Data Elements for each menu (lib.bread and lib.breadbot) and
mapped it in TO.
2. Created CSS with one class (brmnu) for rendering and two ids (tbrmnu and
bbrmnu ) for positioning.
3. Wrote in TS:
lib.bread = HMENU
lib.bread {
special = rootline
special.range = 1|-1
includeNotInMenu = 1
}
lib.bread.1 = TMENU
lib.bread.1 {
NO.allWrap = |
allWrap = <div class="brmnu">|</div>
CUR = 1
CUR.doNotLinkIt = 1
CUR.allWrap = | |
}
lib.breadbot < lib.bread
And now it works! :-)
2008/8/23 Xavier Perseguers <typo3 at perseguers.ch>
> Hi Andreas,
>
> >> <div id="topBreadcrumb" class="breadcrums">
> >> <div id="bottomBreadcrumb" class="breadcrums">
> >
> > what should this class be good for?
>
> As any CSS class: to use it with a CSS file that lets you change the
> layout of your breadcrumb. The idea of Daniel is to use ID's only for
> mapping in TemplaVoilà and use the class to change the rendering:
>
> .breadcrums {
> color: #f00;
> }
>
> for instance.
>
> But you may as well omit the class attribute and use the ID to change
> the rendering *AND* to map elements in TemplaVoilà:
>
> #topBreadcrumb, #bottomBreadcrumb {
> color: #f00;
> }
>
> will have the same effect as above, without any further classes for your
> div.
>
> I think with all these answers, you should be able to easily achieve
> your goal and will instantly get your two breadcrumb menus on your page.
>
>
> --
> Xavier Perseguers
> http://xavier.perseguers.ch/en
> _______________________________________________
>
--
with respect, MaaBoo
More information about the TYPO3-english
mailing list