[TYPO3-english] Tip a Friend inside a TypoScript menu?

Bjoern Pedersen bjoern.pedersen at frm2.tum.de
Fri Jul 16 08:49:08 CEST 2010


Am 16.07.2010 03:11, schrieb Braulio J. Solano-Rojas:
> Hi.
> 
> El 15/07/2010 04:15 p.m., Victor Livakovsky escribió:
>>> Maybe there is a more elegant way?
>>
>> Just split it to different 'lib.whatever' and map after each other. Also
>> last TEXT object may be in a template directly, since it is a static
>> content.
> 
> Well actually I am using Templavoila and I have mapped lib.footMenu to a
> <div> because the complete code is inside it.  If I don't add the last
> TEXT object it will be erased, since Templavoila replaces everything
> inside the <div>.  That's why I needed only one big object.
> 
> I could have several objects mapping to several tags but I don't like
> the resulting HTML code.
> 
> Your suggestion would have worked really nice with the TEMPLATE object,
> but it is a little more difficult with Templavoila (unless I am wrong).
> 
> I appreciate very much your help and comments.
> 
> Regards,
> 
> B.


lib.footMenu.20 = TEXT
^^^ this line is superfluous
lib.footMenu.20 < plugin.tx_pmtipafriend_pi1
lib.footMenu.20 {
  mailFormPID = 281
}

And in TV you just have to use the right mapping modes. If you want to
keep the div, just use mode inner.

Björn


More information about the TYPO3-english mailing list