Hallo zusammen,
hat jemand hier im Forum die Extension: svo_tvplaintext mit der Typo3 Version 4.3.2 zum Laufen gebracht? Bei mir funktioniert das nicht. Die Plaintext-Ausgabe beinhaltet immer noch alle HTML Formatierungen.
Wenn ich das ganze identisch auf Typo3 Version 4.2.12 installiere, funktioniert alles einwandfrei?!
es kommen folgende Versionen zum Einsatz:
Typo3 4.3.2
TemplaVoila: 1.4.2
Direct Mail 2.6.7
Plaintext Library for TemplaVoila! (svo_tvplaintext) 0.0.2
im TS-Template wurde plugin.alt.plaintext(99) hinzugefügt und im Setup folgendes eingetragen:
[globalVar = GP:print > 0]
page >
page = PAGE
page {
typeNum = 0
config {
disableAllHeaderCode = 1
}
20 = COA
20 {
10 = USER
10.userFunc = tx_templavoila_pi1->main_page
stdWrap.postUserFunc = tx_svotvplaintext_pi1->user_cleanup
}
}
[end]
oder hat mir jemand einen guten Tip wie ich eine Newsletter Plaintext-Ausgabe mit Typo3 4.3.2 und TemplaVoila: 1.4.2 erstelle?
Vielen Dank im Voraus!
lg mo
Hallo zusammen,
der Fehler liegt in der Extension: Plaintext Library for TemplaVoila! (svo_tvplaintext)!
Es muss in der Extension-PHP etwas angepasst werden und zwar editiert ihr die
typo3conf/ext/svo_tvplaintext/pi1/class.tx_svotvplaintext_pi1.php
und müsst in Zeile 49 alt gegen neu ersetzen!
alt:
$h2t =& new html2text($content);
neu:
$h2t = new html2text($content);
damit läufts!
hier noch mein Setup:
// page object delete
page >
page = PAGE
page.typeNum = 0
// The extension will produce a full blown html document based on the html provided
page.config.disableAllHeaderCode = 1
// Call the extension
page.10 = USER
page.10.userFunc = tx_css2inline_pi1->main
// Select the style sheets to be taken into consideration
page.10.css = COA
page.10.css.10 = FILE
page.10.css.10.file = {$newsletterCSS}
// Generate the HTML content of the page
// Head part
page.10.html.10 = TEXT
page.10.html.10.wrap = <head>|</head>
page.10.html.10.value = <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
// Body part
page.10.html.20 = USER
page.10.html.20.wrap = <body>|</body>
page.10.html.20.userFunc = tx_templaVoila_pi1->main_page
// basis url
config.baseURL = {$GlobalURL}
// plaintext
plaintext = PAGE
plaintext.typeNum = 99
plaintext.config.disableAllHeaderCode = 1
plaintext{
1 = HTML
1.value = <!--DMAILER_SECTION_BOUNDARY_-->
10 = COA
10 {
10 = USER
10.userFunc = tx_templavoila_pi1->main_page
stdWrap.postUserFunc = tx_svotvplaintext_pi1->user_cleanup
stdWrap.postUserFunc {
baseURL = {$GlobalURL}
preg {
170 {
from = /<td[^>]*ctElement[^>]*>(.+?)<\/td>/i
to = \1\n\n
}
}
}
}
20 = HTML
20.value = <!--DMAILER_SECTION_BOUNDARY_END-->
}
plaintextPre < plaintext
plaintextPre.typeNum=199
plaintextPre{
1 = HTML
1.value = <pre>
20 = HTML
20.value = </pre>
}
lg mo
Wahnsinn - Nach stunden der Suche konnte ich hiermit einen Teilerfolg feiern - Puh.
Ist das normal das alle meine Mail-clienten den Inhalt der Plaintext-Mail in einer Zeile abfeiern?