[TYPO3-german] Newsletter in Typoscript Definieren

Marcel Veronetzki veronetzki at smartthings.de
Thu Mar 29 12:11:33 CEST 2007


Hallo Typo3 Gemeinde :)

Ich muss wieder an Euch herantreten und Euch um Eure Mithilfe bitten.
Ich muss einen Newsletter mit TC Directmail und E-Mail Address 
Subscription erstellen.
Die Anmeldung und Alles weiter sind fertig.
Nur der Newsletter an sich leider noch nicht.

Irgendwie habe ich Probleme das Newsletter Template in Typo3 zu integrieren.
Ich weiss auch leider nicht genau wo der Fehler liegt.
Ich muss dazu sagen ich arbeite mit Typo3 erst seit etwas mehr als einem 
Monat und glänze noch durch Unwissenheit :(

Hier mal das html template mit Markern:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Adobe GoLive" />
<title>Newsletter</title>
</head>

<body style="margin-top: 0px; padding-top: 0px;">
<table border="0">

<table border="0">
<tr>
<td width="10"></td>

<td><a href="http://www.blue.scy.de/adaquo"><img 
src="http://www.blue.scy.de/adaquo/fileadmin/design/logo.gif" 
alt="Adaquo Logo" width="60" height="88" border="0" /></a>

<td valign="bottom"><div style="font-family: Trebuchet MS, Arial, 
SansSerif; text-align: left; font-size: 12px; margin-left: 
25px;"><b>Adaquo Tax & Consulting</b> | Newsletter 12.03.2007</div>
</td>
<br/>
</td>
<td></td>
</tr>
</table>


<div style="margin-top: 15px; margin-bottom: 0px; border-top: 1px solid 
#FDE5A2; margin-left: 10px; width:500px;" ></div>
<table border="0" width="500">
<tr>
<td width="5"></td>
<td>
<h1 style="font-family: Trebuchet MS, Arial, SansSerif; font-size: 
18px;margin-left: 20px; color: #F7AA00;"><a 
style="text-decoration:none;" 
href="http://www.blue.scy.de/adaquo/35.html"></a></h1>

<p style="font-family: Arial, Verdana, Helvetica, sans-serif; 
line-height: 22px; text-align: left; font-size: 12px; margin-bottom: 
20px;margin-left: 50px; margin-right: 30px;">###INHALT###</p>


<p style="font-family: Arial, Verdana, Helvetica, sans-serif;text-align: 
left; font-size: 12px; margin-bottom: 20px;margin-left: 50px; 
margin-right: 30px; ">###LABEL_V_ALREADY_SUBSCRIBED### 
###LABEL_CLICK_HERE_TO_EDIT###</p>

</td>
<td><td>
</tr>
</table>

<div style="margin-top: 10px; margin-bottom: 0px; border-top: 1px solid 
#FDE5A2; margin-left: 10px; width:500px;" ></div>
<table border="0">
<tr>
<td width="5"></td>
<td>
<p style="font-family: Trebuchet MS, Arial, SansSerif; font-size: 10px; 
text-align: left;margin-left: 50px; margin-right: 20px;">###FOOTER###</p>



</td>
</tr>
<td></td>
</tr>
</table>
<p></p>
</body>


Und hier typoscript dazu im Setup von Typo3


###########################################################
# Temp-Objekte
###########################################################

### Footer
#temp.footer=TEXT
#temp.footer.value=<address>Adaquo Tax &amp; Consulting 
Steuerberatungsgesellschaft mbH • <br /> Blankenbergstrasse 5 &bull; 
12161 Berlin &bull; Fon: 030/88 77 48 38 • <br /><a 
href="mailto:info at adaquo.de">info(at)adaquo.de</a> • <a 
href="http://www.adaquo.de">www.adaquo.de</a></address>
temp.footer = RECORDS
temp.footer {
tables = tt_content
source = 122
dontCheckPid = 1
}


temp.select=TEXT
{
temp.select.value=class=
[globalVar = TSFE:id = 1]
temp.select.value=class="select"
[global]
}



###########################################################
# Seite zusammensetzen
###########################################################
page=PAGE
page.typeNum=0
page.stylesheet=fileadmin/design/style.css

page.10=TEMPLATE
page.10{
template = FILE
template.file = fileadmin/design/newsletter.html

workOnSubpart = SMT_DOKUMENT


marks.INHALT < styles.content.get


marks.FOOTER=COA
marks.FOOTER < temp.footer

marks.SPACE=COA
marks.SPACE < temp.space

marks.SELECT=TEXT
marks.SELECT < temp.select

}

###########################################################
# plugins setup
###########################################################
plugin.tt_news.showLatestInSingle = 1
plugin.tt_news.excludeAlreadyDisplayedNews = 1


########################################
#Inline Styles
########################################
#lib.stdheader.10.1.fontTag = <h1 style="font-family:Trebuchet MS, 
Arial, SansSerif; font-size: 18px;margin-left: 20px;">|</h1>

#tt_content = CASE
#tt_content.key.field = CType
#tt_content.stdWrap.innerWrap.cObject = CASE
#tt_content.stdWrap.innerWrap.cObject.key.field = header_layout
# Für Layout Normal
#tt_content.stdWrap.innerWrap.cObject.0 = TEXT
#tt_content.stdWrap.innerWrap.cObject.0.value = <div style="font-family: 
Trebuchet MS, Arial, SansSerif; font-size: 18px;margin-left: 20px; 
color: #F7AA00;"> | </div>

Hab ab Inline Styles alles deaktiviert weil ich nicht weiss ob das so 
hinhaut.
Im moment bekomm ich immer nur eine Weisse seite angezeigt oder Typo3 
Error...
Habe in der Seite 3 Content Elemente eingebunden die mir allerdings auch 
nicht angezeigt werden.
Die CSS anweisungen sollen direkt im html Template stehen und für den 
Inhalt und den Header des jeweiligen contents im Typo script.
Irgendwas mach ich falsch und seh den wald vor lauter bäumen nicht 
mehr... hänge da jetzt schon seit 2 tagen dran und bin mit meinem latein
was noch recht begrenzt ist total am ende...
Kann ich mit den vorletzten 2 markern etwas bewirken ? Diese 2 stammen 
aus der Extension und sollen den abmelde link erstellen.

Danke schonmal vorweg für Eure Antworten :)
Bin echt am verzweifeln...

Mit freundlichen Grüßen, 
Marcel Veronetzki

-- 
Smart Things GmbH 
Rochusstr. 41 
51570 Windeck 

Telefon +49 (0)2292 95 99 528 
Telefax +49 (0)2292 95 99 527
http://www.smartthings.de/ 
veronetzki at smartthings.de

Registergericht: AG Siegburg, HRB 8791 
Geschäftsführer: Philipp Huberty 


More information about the TYPO3-german mailing list