[TYPO3-german] Direct Mail 2sprachig
Peter Russ
peter.russ at 4many.net
Wed Mar 22 12:30:50 CET 2006
Claudia Peter schrieb:
> Hi Liste,
>
> habe folgendes Problem:
>
> Wenn sich ein User über die deutsche Maske für einen Newsletter anmeldet
> bekommt er auch eine deutsche Bestätigungsmail. Im FE funktioniert also
> schon mal alles 2sprachig.
>
> Dann kommen die Newsletter aber nur in der Standardsprache (englisch) an. Im
> Direct Mail Module - Sysfolder habe ich im Setup folgendes geschrieben:
>
> plugin.alt.plaintext {
> file.template =fileadmin/Vorlage/plaintext_content.tmpl
> siteUrl = http://<bla>/index.php
> }
>
> [globalVar = GP:L=1]
> plugin.alt.plaintext {
> file.template =fileadmin/Vorlage/plaintext_content_de.tmpl
> siteUrl = http://<bla>/index.php
> }
> [end]
>
> [globalVar = GP:L=0]
> plugin.alt.plaintext {
> file.template =fileadmin/Vorlage/plaintext_content.tmpl
> siteUrl = http://<bla>/index.php
> }
> [end]
>
> Leider funktioniert das so nicht ;(
> Weiss jetzt auch nicht mehr was ich noch probieren soll? Ich hoffe ihr habt
> ein par Tips für mich.
>
>
> Lg Claudia
Versuch das mal:
in CONSTANT:
[globalVar = GP:L=1]
MAIL_TEMPLATE=fileadmin/Vorlage/plaintext_content_de.tmpl
[else]
MAIL_TEMPLATE=fileadmin/Vorlage/plaintext_content.tmpl
[end]
im SETUP:
plugin.alt.plaintext {
file.template ={$MAIL_TEMPLATE}
siteUrl = http://<bla>/index.php
}
Gruss. Peter.
--
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ
More information about the TYPO3-german
mailing list