.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../Includes.txt .. _configuration-add-bitv-marker-to-every: Add BITV marker to every section -------------------------------- The BITV links and the BITV menu are configured with two userfunctions. .. note:: This way works for fluid templates (cObject:FLUIDTEMPLATE) as for pure typoscript renderings(cObject: TEMPLATE) as well. But be always assure that the navigation copied from the typoscript Object **lib.tx_form4_bitv.navigation** comes after the registration of the section links! See the example for more infos. Here a small explaination of the first userfunction to register a BITV link and the depending settings. Here as a pure USER cObject: .. code-block:: typoscript lib.example = USER lib.example = FORM4\Form4Bitv\Utility\BitvUtility->setBitvAnchor # this is the name for the label in link and the navigation it will be used for the language key #- please see the chapter **Change locallang.xml file** for more details lib.example.userFunc.anchor = content # the position is important for the order of the section link in the bitv navigation! lib.example.userFunc.position = 2 Especially take a look to the comments of the properties: **userFunc.anchor** and **userFunc.position**. The next one is a example if you want to add it to typical typoscript objects, where you should embed the link into the section: .. code-block:: typoscript #first render the bitv link lib.bitvContent = COA lib.bitvContent{ # this part should be seen as example - we want the bitv in front of a content object. # but you also can just make a single content out of it which renders a TEXT cObject # with the given anchor. stdWrap { prepend = TEXT prepend{ wrap =
|