[Typo3] how to categorize menus?
Bing Du
du_bing at hotmail.com
Fri Jun 3 16:40:04 CEST 2005
Bing Du wrote:
> Thorsten Kahler wrote:
>
>> Hi Bing,
>>
>> you simply have to set "doNotLinkIt" in the first level of your menu.
>>
>> Thorsten
>>
>> On Thu, 02 Jun 2005 16:54:47 -0500, Bing Du <du_bing at hotmail.com> wrote:
>>
>>> I want to add some kind of title or header to different sections of
>>> menus. It's like this:
>>>
>>> Yesterday
>>> Events
>>> People
>>>
>>> Today
>>> New schedules
>>> Other stuff
>>>
>>> Tommorrow
>>> Things to-do
>>> New members
>>>
>>> 'Yesterday', 'Today' and 'Tommorrow' are just text, not linked to
>>> anywhere. Are there any such kind menu title related properties?
>>>
>>> Thanks,
>>>
>>> Bing
>>
>>
>>
>>
>>
> Thanks, Thorsten. Yes, I've tried 'doNotLinkIt' in the first level. The
> following typoscript shows how the two-level menus are defined. But it
> only shows the first level menu. How can I get both first and second
> level meuns show up at the same time?
>
> =================
> temp.nav.1 = TMENU
> temp.nav.1 {
> expAll = 1
> NO.doNotLinkIt = 1
> NO.beforeWrap = <li><a href="/index.php?id=|"
> onfocus="blurLink(this);" onclick="return toggleSubmenu(this);">
> NO.stdWrap.field = title
> NO.stdWrap.wrap = |</a>
> NO.afterWrap = <ul id="page|" style="display:none;">
> NO.allWrap = |
> NO.wrapItemAndSub = |<li></li></ul></li>
>
> ACT = 1
> ACT.doNotLinkIt = 1
> ACT.beforeWrap = <ul><li><a href="/index.php?id=|"
> onfocus="blurLink(this);" onclick="return toggleSubmenu(this);">
> ACT.stdWrap.field = title
> ACT.stdWrap.wrap = |</a>
> ACT.afterWrap = <ul id="page|" style="display:none;">
> ACT.allWrap = |
> ACT.wrapItemAndSub = |<li></li></ul></li></ul>
> }
>
> temp.nav.2 = TMENU
> temp.nav.2 {
> expAll = 1
> NO.doNotLinkIt = 1
> NO.before.data = field:uid
> NO.beforeWrap = <ul><li><a href="/index.php?id=|"
> onfocus="blurLink(this);" onclick="return toggleSubmenu(this);">
> NO.stdWrap.field = title
> NO.stdWrap.wrap = |</a>
> NO.after.field = uid
> NO.afterWrap = <ul id="page|" style="display:none;">
> NO.allWrap = |
> NO.wrapItemAndSub = |<li></li></ul></li></ul>
>
> ACT = 1
> ACT.doNotLinkIt = 1
> ACt.before.data = field:uid
> ACT.beforeWrap = <ul><li><a href="/index.php?id=|"
> onfocus="blurLink(this);" onclick="return toggleSubmenu(this);">
> ACT.stdWrap.field = title
> ACT.stdWrap.wrap = |</a>
> ACT.after.field = uid
> ACT.afterWrap = <ul id="page|" style="display:none;">
> ACT.allWrap = |
> ACT.wrapItemAndSub = |<li></li></ul></li></ul>
> }
> ===================
>
> Bing
By the way, I forgot to include the following part in my previous post:
temp.nav = HMENU
temp.nav.entryLevel = 0
temp.nav.wrap = <ul>|</ul>
Bing
More information about the TYPO3-english
mailing list