[TYPO3-english] Direct mail with Templavoilà and News

Braulio J. Solano-Rojas braulio at solsoft.biz
Mon Mar 5 16:38:33 CET 2012


El 02/03/2012 05:22 p.m., Braulio J. Solano-Rojas escribió:
> Hi.
>
> Has anyone done this? I've googled this, tried different Typoscript
> configurations, etc., without success. I would appreciate any help.

Found a very easy and elegant solution (ods_plaintext):

El 29/07/2010 03:52 a.m., Chris escribió:
 > Brian Bendtsen schrieb:
 >> Olivier Dobberkau skrev:
 >>> Am 28.07.10 13:11, schrieb Brian Bendtsen:
 >>>
 >>>> Any clues to what might be wrong?
 >>>
 >>> have you included the static plaintext template?
 >>>
 >>> olivier
 >> Hi Olivier
 >>
 >> Yes I have
 >>
 >> /BB
 >
 > check this Extension:
 > Plaintext Library ods_plaintext 0.1.1 20-04-10 Robert Heel
 >




> El 07/02/2012 06:18 p.m., Braulio J. Solano-Rojas escribió:
>> Greetings,
>>
>> I have a site where I am using Templavoila and I have a Direct Mail
>> Newsletter. Everything works fine for HTML email and text email except
>> that when there are shortcuts to tt_news records these are not displayed
>> in the text email.
>>
>> I've made what's indicated everywhere about Direct Mail with
>> Templavoilà, no difference.
>>
>> I've also googled this but did not find any solution.
>>
>> I've tried several things. Right now I am trying to propagate
>> plugin.tx_directmail_pi1.shortcut from the Direct Mail static template
>> to the text content with this Typoscript:
>>
>> [globalVar = GP:print > 0]
>> # we use the plaintext rendering methods if we have a plaintext version
>> # so all our content elements have no tags but just good-old plaintext
>> lib.alt_plaintext.renderObj.siteUrl = http://somesite.com/
>> # Option one
>> lib.alt_plaintext.renderObj.shortcut =< plugin.tx_directmail_pi1.shortcut
>> # Option two
>> tt_content.shortcut.20 =< plugin.tx_directmail_pi1.shortcut
>> # Text
>> tt_content < lib.alt_plaintext.renderObj
>> [end]
>>
>> lib.newsletter = COA
>> lib.newsletter {
>> 5 = TEXT
>> 5.data = page:title
>> 5.wrap = <h2>|</h2>
>> 10 < styles.content.get
>> 10.renderObj < tt_content
>> }
>>
>> # if we have the plaintext version we cut away all <html> <head> ...
>> [globalVar = GP:print > 0]
>> config.disableAllHeaderCode = 1
>> lib.newsletter.5 >
>> [end]
>>
>> Of course I am including the static templates from Direct Mail and
>> tt_news.
>>
>> Has someone done this?
>>
>> I will appreciate any help.
>>
>> Best regards,
>>
>> B.
>



More information about the TYPO3-english mailing list