Hallo Forum
ich hab mal DirectMail (aktuelle Version) eingerichtet
hab den Newsletter mit nem Table Template aufgebaut und lass die Inhalte fuer Header und Bodytext seperat rendern
allerdings werden Links nun wie folgt erzeugt:
<link http:wwwwebde="" _blank="" external-link-new-window="" ffneteinenexternenlinkineinemneuenfenster="" />erstellt</link>
ich hab fuer den Newsletter ein eigenes Template angelegt wo ich alle Settings loesche
(hab auch mal Testweise alles wieder an Templates mit reingenommen aber Links werden nicht zu <a... </a>)
hier mal die Config vom Template vielleicht hab ich was drin stehn was den "Fehler" ausloest ich aber nicht seh
vielleicht kann mir ja jemand helfen
Dank und Gruss
Tom
page = PAGE
page {
typeNum = 0
headerData = COA
headerData.1 = TEXT
headerData.1.value = <link rel="shortcut icon" href="fileadmin/images/favicon.ico" />
headerData.10 = TEXT
headerData.10.value (
<style type="text/css">
* {padding:0px; margin:0px; font-family: arial,helvetica,sans-serif; font-size: 12px; } // sollte an den Anfang jeder CSS Datei fuer Typo (Typo3forum.net)
img { border: 0px; }
html { font-size: 11px; line-height: 13px; font-weight: normal; color: #000000; backgound-color: #e5e5e5; background-image: url(http://###SERVER###/fileadmin/template/bg_logo2.gif); background-repeat:repeat; }
.title { text-decoration:none; font-size: 10px; line-height: 12px; font-weight: bold; color: #000000; }
a:link { font-size: 11px; line-height: 13px; text-decoration: underline; font-weight: normal; color: #336699; }
a:visited { font-size: 11px; line-height: 13px; text-decoration: underline; font-weight: normal; color: #336699; }
a:hover { font-size: 11px; line-height: 13px; text-decoration: underline; font-weight: normal; color: #336699; }
a.contact:link { font-size: 11px; line-height: 13px; text-decoration: underline; font-weight: normal; color: #000000; }
a.contact:visited { font-size: 11px; line-height: 13px; text-decoration: underline; font-weight: normal; color: #000000; }
a.contact:hover { font-size: 11px; line-height: 13px; text-decoration: underline; font-weight: normal; color: #000000; }
a.top:link { text-decoration:none; font-size: 10px; line-height: 12px; font-weight: normal; color: #000000; }
a.top:visited { text-decoration:none; font-size: 10px; line-height: 12px; font-weight: normal; color: #000000; }
a.top:active { text-decoration:none; font-size: 10px; line-height: 12px; font-weight: normal; color: #000000; }
a.top:hover { text-decoration:none; font-size: 10px; line-height: 12px; font-weight: normal; color: #000000; }
.bodytext { margin-left:25px; border-left: 1px solid #000000; padding-left:10px; }
h1 {width:965px; background-color:#ADAAA5; padding-top:5px; padding-bottom:5px; border-top:1px solid #000000; border-bottom:1px solid #000000; padding-left:10px; vertical-align:middle; }
.nl-spacer { height:20px; minheight:20px; margin-left:25px; border-left:1px solid black; }
</style>
)
}
#Page ein Template zuweisen
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/template/newsletter003.tmpl
workOnSubpart = document_body
subparts.MAINCONTENT = CONTENT
subparts.MAINCONTENT {
table = tt_content
select {
pidInList = this
orderBy = sorting
where = colPos=0
}
renderObj = COA
renderObj {
10 = TEXT
10.wrap = <tr><td valign="top" align="left" height="1"> </td><td valign="top" align="left" colspan="2" height="1" style="padding:5px; font-weight:bold; border-top:1px solid black; border-left:1px solid black; border-bottom:1px solid black; background-color:#a9a9a9;"> | </td></tr>
10.field = header
20 = TEXT
20.wrap = <tr><td valign="top" align="left" width="10" height="1"> </td><td valign="top" align="left" width="10" height="1" style="border-right:1px solid black"> </td><td valign="top" align="left" width="955"><table cellspacing="10" cellpadding="5" width="100%" border="0"><tr><td valign="top" align="left" width="10" height="1"> </td><td valign="top" align="justify" width="100%" bgcolor="#e5e5e5" style="padding:5px; border:1px dashed black;"> | </td></tr></table></td></tr>
20.field = bodytext
30.typolink {
parameter.field = uid
target = {$styles.content.searchresult.resultTarget}
additionalParams.data = register:SWORD_PARAMS
additionalParams.required = 1
additionalParams.wrap = &no_cache=1
}
parseFunc =< lib.parseFunc_RTE
}
}
---------
Nachtrag: Loesung gefunden
wenn man Zeile 64-71 durch
10.parseFunc < tt_content.text.20.parseFunc
ersetzt klappts auch
hab da wohl irgendwie falsch gedacht gehabt
abe aus Fehlern lernt man nach wie vor am besten
vielleicht hilfts auch jemand mit aehnlichen Gehirnwindungen *g