Language menu seperator for sr_languagemenu
The code below is used to get a language menu seperator for sr_languagemenu as shown in the picture below:
CODE:
10 < plugin.tx_srlanguagemenu_pi1
10 {
links.stdWrap.split {
token = {$plugin.tx_srlanguagemenu_pi1.token}
wrap = | |*| <span class="SPC2"> | | </span> |*| <span class="SPC3"> | | </span>
}
}
In the above code | is the HTML Character Code for pipe character ( | )
The SPAN tag, and SPAN Classes are optional and solely meant for code readability!!!
Posted in Typo3, typoscript
Tagged language menu, menu seperator, optionsplit, sr_languagemenu, stdWrap.split, wrap
Tagged language menu, menu seperator, optionsplit, sr_languagemenu, stdWrap.split, wrap

Leave a Comment










Leave a Reply