[Typo3-UG Oesterreich] Direct Mail / Plaintext / keine Links

Bernhard Kraft kraftb at mokka.at
Mon Sep 20 14:58:44 CEST 2004


Franz Kratochvil wrote:

> Hm. Sowas hab ich eigentlich gar nicht. ;-)
> 
> Ich hab das Plaintext-Template halt eingebunden:
> plugin.alt.plaintext.file.template = fileadmin/plaintext_content*.tmpl u.
> hab plugin.alt.plaintext drin....
> 
> was auch einen schönen Plaintext-Newsletter ergibt. Bis auf die Links 
> (im Content) halt....

Ich hab folgendes Setup für den Newsletter.
Ich hab das zwar nicht selber zamgschrieben sondern es ist
ein Relikt vom Wolfgang aber es scheint recht gut zu funktionieren.

----------------snip-----------------------------
alt_plaintext.config.disableAllHeaderCode = 1
alt_plaintext.10 = TEMPLATE
alt_plaintext.10 {
   template = FILE
   template.file = {$plugin.alt.plaintext.file.template}
   marks.CONTENT < styles.content.get
   marks.CONTENT.renderObj = < lib.alt_plaintext.renderObj
}

plugin.alt.plaintext {
   siteUrl = http://www.hohebruecke.at/
}
----------------snip-----------------------------

Das "siteUrl" hab ich nachträglich hinzugefügt weil der bekannte Fehler
auftrat das die Links im Plaintext Mail nicht funktionieren. Da ist nämlich
eine URL hardgecoded ...

Natürlich brauchst du in deinem Plaintext-Template einen Marker
###CONTENT###


grüsse,
Bernhard
-----------------------------------------
Bernhard Kraft
<kraftb at mokka.at>

MOKKA MEDIENAGENTUR GMBH
Mariahilferstrasse 170
1150 Wien
T: 01 895 33 33 50
M: 0676 560 14 14
F: 01 895 33 33 20
www.mokka.at
-----------------------------------------





More information about the TYPO3-at mailing list