[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TYPO3-english] Wrapping



*Hello Tobi and Tomas,*

Thank you for very much for helping me to solve my problem. I really
appreciate it.

Bundle of thanks to both of you.

*Kind Regards,


Salman Javaid*

On Fri, Apr 29, 2011 at 3:58 PM, Tobias Liegl <tliegl[email protected]> wrote:

> You have to add "expAll = 1" to your TS.
>
>
> MENU = HMENU
> MENU {
>  entryLevel = 0
>
>  # First level
>  1 = TMENU
>  1 {
>    expAll = 1
>    wrap =
>
> More info about TMENU can be found here:
>
> http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.3.2/view/1/9/#id2533454
>
> Tobi
>
>
>
> Am 29.04.2011 15:47, schrieb Salman Javaid:
>
>  *Hello Tomas,*
>>
>> Thank you very much for your kind help.
>>
>> The code you have given is working but it only works when i go to for
>> example about us page. If i go to home page or contact page then drop down
>> does not work. here is the link http://www.wheelsandtools.be
>>
>> I want to populate drop down on every page.
>>
>> I will be really thankful to you if you can help me a bit more.
>> *
>> Thanks&  Regards,
>>
>>
>> Salman Javaid*
>>
>>
>> On Fri, Apr 29, 2011 at 3:19 PM, Tomas Mrozek<[email protected]>  wrote:
>>
>>  The problem is, if sub menu exists then<li>  should not be closed and
>>>> next<ul>  should be started.
>>>>
>>>
>>> Well, that's why you are using "wrapItemAndSub" property, isn't it? It
>>> wraps the item plus any submenus. However, you have made few mistakes in
>>> the setup.
>>>
>>> Try this:
>>>
>>> MENU = HMENU
>>> MENU {
>>>  entryLevel = 0
>>>
>>>   # First level
>>>   1 = TMENU
>>>  1 {
>>>    wrap =<ul>|</ul>
>>>
>>>     NO {
>>>      allWrap =<li>|</li>
>>>    }
>>>
>>>    IFSUB = 1
>>>    IFSUB {
>>>       wrapItemAndSub =<li class="submenu">|</li>
>>>     }
>>>  }
>>>
>>>  # Second level
>>>  2 = TMENU
>>>  2 {
>>>     wrap =<ul>|</ul>
>>>
>>>    NO {
>>>      allWrap =<li>|</li>
>>>    }
>>>
>>>    IFSUB = 1
>>>    IFSUB {
>>>       wrapItemAndSub =<li class="submenu_inn">|</li>
>>>    }
>>>  }
>>> }
>>>
>>> Tomas Mrozek
>>>
>> _______________________________________________
> TYPO3-english mailing list
> [email protected]
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english