[TYPO3] Repeat Breadcrumb menu twice

Daniel Huf puffi666 at gmail.com
Thu Aug 21 17:13:03 CEST 2008


In CSS an id has to be unique, so if you need two breadcrumbs, use a 
class or a different id on each of them with a class.

<div id="topBreadcrumb" 
class="breadcrums"><ul><li>...</li><li>...</li></ul></div>

<div id="content">content</div>

<div id="bottomBreadcrumb" 
class="breadcrums"><ul><li>...</li><li>...</li></ul></div>

in templàvoila you have to create two typoscript elemets in your 
datastructure and then map them to the places where you want your 
breadcrumb loaded

typoscript:
http://wiki.typo3.org/index.php/Rootline_menues (the bottom one)

datastructure:
<field_rootline type="array">
  <tx_templavoila type="array">
   <title>rootline</title>
   <description><![CDATA[lib.rootline > Mapping of the rootline, the 
path to the page]]></description>
   <sample_data type="array">
    <numIndex index="0">rootline</numIndex>
   </sample_data>
   <eType>TypoScriptObject</eType>
   <tags>*</tags>
   <TypoScriptObjPath>lib.rootline</TypoScriptObjPath>
  </tx_templavoila>
</field_rootline>
<field_bottomrootline type="array">
  <tx_templavoila type="array">
   <title>rootline</title>
   <description><![CDATA[lib.rootline > Mapping of the rootline, the 
path to the page]]></description>
   <sample_data type="array">
    <numIndex index="0">rootline</numIndex>
   </sample_data>
   <eType>TypoScriptObject</eType>
   <tags>*</tags>
   <TypoScriptObjPath>lib.rootline</TypoScriptObjPath>
  </tx_templavoila>
</field_bottomrootline>

INNER stands for into the element you selected
OUTER is for removing the element you selected

hope that helps.
Daniel

maaboo wrote:
> 2008/8/21 Daniel Huf <puffi666 at gmail.com>
> 
>> As all say, generate once and map it twice.
>>
>> Are you using templavoilà ?
>>
>> Daniel
>>
>> maaboo wrote:
>>> Hi!
>>>
>>> I want to have 2 breadcrumbs on my page - one on the top and other at the
>>> bottom (i think it helps in navigation). How can i do it the best?
> 
> Yes, sure, or course. :-) What next?...
> 


More information about the TYPO3-english mailing list