[TYPO3-english] menu items

Cecilie Andersen cecilie007007 at gmail.com
Wed Feb 2 15:15:27 CET 2011


Ohh - don´t say the word optionsplit.  I have tried to use optionsplit 
regading menu items colours some times, but newer managed get it working. 
Maybe I should try to find some examples and this way understand how this 
works

regards
Cecilie

"Søren Malling" <soren.malling at gmail.com> skrev i meddelelsen 
news:mailman.8947.1296655559.648.typo3-english at lists.typo3.org...
> Hi Cecilie,
>
> Take a look at optionSplit
>
> http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/0.0.16/view/7/4/
>
> Regards
>
> Søren Malling
>
> TYPO3 Brugergruppe Danmark: www.typo3danmark.dk
> Twitter: twitter.com/sorenmalling
>
>
>
> On Wed, Feb 2, 2011 at 2:49 PM, Dayle Rees <dre at llgc.org.uk> wrote:
>> On 02/02/11 13:46, Cecilie Andersen wrote:
>>>
>>> My typoscript looks now like
>>>
>>> lib.field_topmenu = HMENU
>>> lib.field_topmenu.excludeUidList = 7,6,23,22
>>> lib.field_topmenu.entryLevel = 0
>>> lib.field_topmenu.1 = TMENU
>>> lib.field_topmenu.1 {
>>> NO.allWrap = <SPAN class="menutop-level1-no">&#124;  | &#124;</SPAN>
>>> ACT = 1
>>> ACT.allWrap = <SPAN class="menutop-level1-act">&#124; | &#124;</SPAN>
>>>
>>> But the "problem" is that it looks like
>>>
>>> | menu1 | | menu 2| | menu |
>>>
>>> And I would like it
>>>
>>> |menu1 | Menu 2 | menu 3|
>>>
>>> Should this also be possible ?
>>>
>>>
>>>
>>> "Dayle Rees" <dre at llgc.org.uk> skrev i meddelelsen
>>> news:mailman.8941.1296654296.648.typo3-english at lists.typo3.org...
>>>>
>>>> On 02/02/11 13:29, Cecilie Andersen wrote:
>>>>>
>>>>> Great it works - but is there a way I can set the height on the " | "
>>>>> character as if by now just fits the height of the rest of the text, 
>>>>> and I
>>>>> want it to be higher.
>>>>>
>>>>> Regards
>>>>> Cecilie
>>>>>
>>>>> "Dayle Rees" <dre at llgc.org.uk> skrev i meddelelsen
>>>>> news:mailman.8929.1296652392.648.typo3-english at lists.typo3.org...
>>>>>>
>>>>>> On 02/02/11 13:06, Cecilie Andersen wrote:
>>>>>>>
>>>>>>> I am looking for a way making a " | " character between each menu
>>>>>>> item.
>>>>>>> My typoscript looks like - but is there a way I can add it there ?
>>>>>>>
>>>>>>> lib.field_topmenu = HMENU
>>>>>>> lib.field_topmenu.excludeUidList = 7,6,23,22
>>>>>>> lib.field_topmenu.entryLevel = 0
>>>>>>> lib.field_topmenu.1 = TMENU
>>>>>>> lib.field_topmenu.1 {
>>>>>>> NO.allWrap = <SPAN class="menutop-level1-no"> | </SPAN>
>>>>>>> ACT = 1
>>>>>>> ACT.allWrap = <SPAN class="menutop-level1-act"> | </SPAN>
>>>>>>>
>>>>>>> Regards
>>>>>>> Cecilie _______________________________________________
>>>>>>> TYPO3-english mailing list
>>>>>>> TYPO3-english at lists.typo3.org
>>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>>>
>>>>>> Use the vertical bar HTML entity, as opposed to the actual character,
>>>>>> the entity is : &#124;  or ( (ampersand hash 1 2 3)   :)
>>>>>>
>>>>>> Dayle.
>>>>>
>>>>> _______________________________________________
>>>>> TYPO3-english mailing list
>>>>> TYPO3-english at lists.typo3.org
>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>
>>>> The fixed character height is actually controlled by the font. You 
>>>> could
>>>> wrap the pipe entity in an element and style it with CSS ( increase 
>>>> font
>>>> size) or use an image. Or alternatively take a look at the list of HTML
>>>> entities for a suitable alternative :
>>>> http://www.elizabethcastro.com/html/extras/entities.html
>>>>
>>>> Best of luck :)
>>>>
>>> _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>
>> My TYPOscript isn't too great so I won't share examples, but you could
>> achieve the effect by placing a wrap on the container as well as the
>> elements as follows :
>>
>> Place | to the left of the container.
>> Place a | to the right of each child menu element, thus :
>>
>> | element | element | element |
>>
>> Hopefully someone with some TYPOScript know-how can improve on what I am
>> saying :)
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>> 


More information about the TYPO3-english mailing list