[Typo3-dev] HMENU: don't open mailto-links in new pages
Kraft Bernhard
kraftb at gmx.net
Thu Jun 30 09:45:45 CEST 2005
tapio wrote:
> the doctype 'Spacer' has 'SPC' as link type.
> They are needed seldom.
> MUCH more common used doctypes in menus are
> external URL's - it is IMPORTANT that people would
> know, that the links to external URL's new windows.
> That need special markup.
>
> I made for that purpose EXTURL.
> Then SPC, EXTURL and USR are special types
> compared with link states ACT etc.
In my opinion it would be more powerful to make the "ATagParams" key of a HMENU (and others)
of type stdWrap and do something like:
lib.menu.1 {
ATagParams = class="doktype-{TSFE:page:doktype}"
}
which would need much less change.
I don't know if it's cleaner to have:
NO
ACT
SPC
and newly:
STD
ADV
SHORT
EXTURL
greets,
Bernhard
--
Kraft Bernhard
MOKKA Medienagentur <http://www.mokka.at>
T: +43 - 1 - 895 33 33 - 50
More information about the TYPO3-dev
mailing list