[Typo3-dev] HMENU: don't open mailto-links in new pages

JoH info at cybercraft.de
Thu Jun 30 16:52:19 CEST 2005


> Well stdWrap seems to have in most situations enough
> possibilities - endeed using lists might be problematic?
> For links you can define termination for link and child
> to get nested elements work properly.

1 = TMENU
1 {
    wrap = <ul>|</ul>
    NO {
        wrapItemAndSub = <li class=|</li>
        stdWrap.cObject = CASE
        stdWrap.cObject {
            key.field = doktype
            default = TEXT
            default {
                field = title
                outerWrap = "doktype0">|
                wrap = whatever|whatever
            }
            1 = TEXT
            1 {
                field = title
                outerWrap = "doktype1">|
                wrap = whatever|whatever
            }
        }
    }
}
2 < .1

works for nested elements too.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau






More information about the TYPO3-dev mailing list