[TYPO3-english] Creating html newsletter
Katja Lampela
katja.lampela at lieska.net
Wed Jun 6 19:39:15 CEST 2012
I gave it another try and now it works!
I don't know what happened at first try but yes, this is really great
for the job, thanks again pointing that out :)
6.6.2012 19:35, Stephen Bungert kirjoitti:
> :(
>
> It works on TYPO3 4.6.9
>
>
> "Katja Lampela"<katja.lampela at lieska.net> schrieb im Newsbeitrag
> news:mailman.1.1339000225.30617.typo3-english at lists.typo3.org...
>> oh well, with TYPO3 4.7.1 it doesn't work:
>> Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
>> ')' in
>> /var/www/vhosts/mysite.fi/httpdocs/typo3conf/temp_CACHED_FE_ps3083_ext_localconf.php
>> on line 25
>>
>> 6.6.2012 11:11, Stephen Bungert kirjoitti:
>>> Hello Katja,
>>>
>>> I have just found the extension css2inline in the TER:
>>>
>>> http://typo3.org/extensions/repository/view/css2inline
>>>
>>> This works really well, all you do is make styles in css, adjust your ts
>>> template a little and the extension turns your css in to style attributes
>>> and applies them to the outputted html based on the selectors in your
>>> CSS.
>>>
>>> I shall be using this from now on.
>>>
>>>
>>> "Katja Lampela"<katja.lampela at lieska.net> schrieb im Newsbeitrag
>>> news:mailman.1.1338791508.27197.typo3-english at lists.typo3.org...
>>>> Hi,
>>>>
>>>> I'm creating a newsletter system with the new newsletter extension
>>>> (based
>>>> on tc_directmail) which BTW seems to be an excellent solution!
>>>>
>>>> Anyway my problem is how to render the content in
>>>> enough-old-fashioned-way:
>>>> http://www.sitepoint.com/code-html-email-newsletters/
>>>> http://www.email-standards.org/
>>>>
>>>> This would mean mainly table based layout, not attached stylesheets, all
>>>> styles inline.
>>>>
>>>> I have the layout quite nicely working out with the old static
>>>> templates,
>>>> styles.content and content(default); this creates table based layouts.
>>>>
>>>> But my problem now is in the text rendering.
>>>>
>>>> The editor has to be able to edit text styles and they all should be
>>>> inline styles. For example editor inserts little gray text with font
>>>> size
>>>> + text color selectors and at the moment I get saved into database:
>>>>
>>>> <p style="font-size: 10px; color: rgb(153, 153, 153);">Here is the
>>>> little
>>>> gray text.</p>
>>>>
>>>> But in frontend there is only<p>Here is the little gray text.</p>
>>>>
>>>> if I have this in my template setup:
>>>> tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes
>>>> {
>>>> P.style=
>>>> PRE.style=;
>>>> }
>>>>
>>>> If I don't have that in my ts setup, the result is:
>>>>
>>>> <p style="margin:0 0 0 0;">Here is the little gray text.</p>
>>>>
>>>> How can I deliver in frontend the same thing that seems to be saved in
>>>> database (at least it is in the rte when checking the sourcecode)?
>>>>
>>>> Is this typoscript or RTE thing?
>>>>
>>>> --
>>>> With kind regards
>>>>
>>>> Katja Lampela
>>>> *Lieska-tuotanto*
>>>> www.lieska.net
>>>>
>>>
>>>
>
>
More information about the TYPO3-english
mailing list