Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3-german] Newsletter in Typoscript Definieren within the typo3-german@lists.netfielders.de forums, part of the TYPO3-Mailinglisten: DEUTSCH category; Hallo Typo3 Gemeinde Ich muss wieder an Euch herantreten und Euch um Eure Mithilfe bitten. Ich muss einen Newsletter mit ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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 & Consulting Steuerberatungsgesellschaft mbH • <br /> Blankenbergstrasse 5 • 12161 Berlin • Fon: 030/88 77 48 38 • <br /><a href="mailto:info (AT) adaquo (DOT) 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 (DOT) de Registergericht: AG Siegburg, HRB 8791 Geschäftsführer: Philipp Huberty _______________________________________________ TYPO3-german mailing list TYPO3-german (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...o/typo3-german |
|
#2
|
|||
|
|||
|
Ok Fehler gelöst
Problem erkannt, Gefahr gebannt... Nach mehrmaligem durchlesen fiel mir auf das SMT_DOKOMENT gefehlt hat. Bleibt nur noch 1 Problem und zwar wie ich die Styles im TS für den Content und die Header bestimmen kann. Weiss da jemand rat ? Da Sie im html template inline nichts bringen muss ich es irgendwie über TS einbinden. Marcel Veronetzki schrieb: > 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 & Consulting > Steuerberatungsgesellschaft mbH • <br /> Blankenbergstrasse 5 • > 12161 Berlin • Fon: 030/88 77 48 38 • <br /><a > href="mailto:info (AT) adaquo (DOT) 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 > 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 (DOT) de Registergericht: AG Siegburg, HRB 8791 Geschäftsführer: Philipp Huberty _______________________________________________ TYPO3-german mailing list TYPO3-german (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...o/typo3-german |
|
#3
|
|||
|
|||
|
Ok hab ne vorablösung für die Content Header gefunden.
Sieht in etwa so aus: lib.stdheader.10.1.fontTag = <h1 style="font-family:Trebuchet MS, Arial, SansSerif; font-size: 18px;margin-left: 20px; color: #F7AA00;">|</h1> Nur leider finde ich keinen Befehl um dem Content die passenden Styles zu verpassen. Hab nur das hier im Net gefunden was mir aber nicht wirklich weiterhilft: tt_content.stdWrap.innerWrap.cObject.1.value = <div style="font-family: Arial, Verdana, Helvetica, sans-serif; line-height: 22px; font-size: 12px; margin-bottom: 20px;margin-left: 100px; margin-right: 30px;"> | </div> Es tut sich leider nichts. Habe es mit p tags versucht aber das bringt leider auch nichts. Wenn ich im html template den marker ###INHALT### mit <div></div> umschliesse wird es mir im quelltext trotzdem von <p></p> tags eingeschlossen. Weiss vielleicht bitte jemand Rat ? ![]() Danke Marcel Veronetzki schrieb: > Ok Fehler gelöst > Problem erkannt, Gefahr gebannt... > Nach mehrmaligem durchlesen fiel mir auf das SMT_DOKOMENT gefehlt hat. > > Bleibt nur noch 1 Problem und zwar wie ich die Styles im TS für den > Content und die Header bestimmen kann. > Weiss da jemand rat ? > Da Sie im html template inline nichts bringen muss ich es irgendwie > über TS einbinden. > 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 (DOT) de Registergericht: AG Siegburg, HRB 8791 Geschäftsführer: Philipp Huberty _______________________________________________ TYPO3-german mailing list TYPO3-german (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...o/typo3-german |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] Typo3 Newsletter in Typoscript mit Stylesheetsdefinieren. | Marcel Veronetzki | typo3-german@lists.netfielders.de | 3 | 28.03.2007 15:08 |
| [TYPO3-german] Link für Extension im BE definieren | a owen | typo3-german@lists.netfielders.de | 0 | 16.02.2007 01:21 |
| [TYPO3-german] Marker definieren | Jörg Petersson | typo3-german@lists.netfielders.de | 7 | 16.01.2007 14:18 |
| [TYPO3] Newsletter plugin for sending newsletter | atul | typo3-english@lists.netfielders.de | 0 | 06.01.2007 07:42 |
| [TYPO3-german] tt_news-MORE-link in Newsletter.. | Fabian König | typo3-german@lists.netfielders.de | 1 | 03.01.2007 16:41 |