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

tapio tapio.markula at dnainternet.net
Thu Jun 30 13:33:54 CEST 2005


Kraft Bernhard wrote:
> 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.

Does that work without extra TS config? That could work in many 
situations but with EXTURL you can freely define ALL properties.

> 
> I don't know if it's cleaner to have:
> NO
> ACT
> SPC
> and newly:
> STD

what you mean by that?

> ADV


ADV (Advanced) is not necessary because it is does not cause any 
difference for normal visitors.

> SHORT
> EXTURL
> 
> 
> greets,
> Bernhard




More information about the TYPO3-dev mailing list