[TYPO3-english] doNotLinkIt stdWrap isTrue

JoH asenau info at cybercraft.de
Thu Feb 4 16:01:11 CET 2010


> another question.
> As I read in the bugtracker it should be possible to use stdWrap with
> doNotLinkIt since 4.3.0.
>
> As far as I understand this feature it should be possible to decide
> if I want use doNotLinkIt or not.
>
> Whats in my mind:
>
> 2.IFSUB < 2.NO
> 2.IFSUB {
>   doNotLinkIt = 0
>   doNotLinkIt.stdWrap.override.cObject =TEXT
>   doNotLinkIt.stdWrap.override.cObject {
>     value = 1
>     if.isTrue.field = tx_boolLink
>   }
>   wrapItemAndSub = <li class="secondLevel"> | </li>
> }

If stdWrap is already assigned to doNotLinkIt, the syntax should be not as
complicated ;-)

doNotLinkIt = 1
doNotLinkIt.if.isTrue.field = tx_boolLink

or maybe

doNotLinkIt = 1
doNotLinkIt.if.isTrue.data = field:tx_boolLink

since there might be issues with "field" when used with TV.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-english mailing list