[TYPO3] Template in pure HTML

Yoeri Conickx yoeri at mediamind.be
Thu Oct 19 15:56:54 CEST 2006


Hello.

This is not what I want to do.

I will try to explain it a bit more:
When I use css-styled-content I get output looking like this:

		<!--  Image block: [begin] -->
			<div class="csc-textpic
csc-textpic-intext-left"><div class="csc-textpic-imagewrap"><dl
class="csc-textpic-image csc-textpic-firstcol csc-textpic-lastcol"
style="width:150px;"><dt><img src="typo3temp/pics/c8004349db.jpg"
width="150" height="145" border="0" alt="" /></dt><dd
class="csc-textpic-caption"></dd></dl></div><div class="csc-textpic-text">
		<!--  Text: [begin] -->
			<p class="bodytext">Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Sed euismod sem eget ligula. Fusce enim purus,
consequat sollicitudin, mollis eget, pretium at, augue. Aliquam posuere. Ut
sed sem. Suspendisse potenti. Integer cursus, nunc a accumsan euismod,
libero ligula adipiscing libero, nec adipiscing erat velit et urna. Nunc sit
amet est vel risus auctor bibendum. Donec at velit nec justo imperdiet
vulputate. Nunc tincidunt, quam sit amet tristique venenatis, turpis risus
facilisis diam, quis interdum diam arcu vel neque. Aenean ante. Fusce sit
amet velit quis dolor mattis vestibulum. Nam nec elit. 
</p>
<p class="bodytext">Donec pellentesque adipiscing turpis. Ut quis tortor.
Donec mollis sodales quam. Nulla tempus justo eu nisl. Vivamus tempus urna
ac nisi. Donec accumsan malesuada libero. Sed dolor erat, pharetra et,
pretium id, faucibus eget, odio. Donec scelerisque adipiscing nisl. Lorem
ipsum dolor sit amet, consectetuer adipiscing elit. Sed adipiscing. Nullam
ullamcorper laoreet mi. </p>
		<!--  Text: [end] -->
			</div></div>
		<!--  Image block: [end] -->

That looks great in Outlook and so on, but is totally screwed up in Hotmail,
Gmail, ...
Images don't appear where they should, text is not displayed in the right
font, ...

So I don't use css-styled-content, I use the static content(default).

But with that static template I get other problems.
My <p> tags become <p style="margin: 0 0 0 0">.

Now even the headers I use in the RTE are totally wrong.
Instead of the HTML-code <h1>Header</h1> I get "&lt;h2&gt;Paragraaf
2&lt;/h2&gt;"

Is there somewhere a tutorial or some documentation on how the make
templates for the direct-mail extension?
And not just any template, but templates that give output Hotmail and Gmail
can display correctly?

Kind regards.
Yoeri Conickx.



-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Daniel
Selinger
Sent: woensdag 18 oktober 2006 11:14
To: TYPO3 English
Subject: Re: [TYPO3] Template in pure HTML

Hi,

you can disable the default css-styles with this in your ts-setup:

plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE >

Simply take the extension key you want to remove the default styles...


2006/10/18, Yoeri Conickx <yoeri at mediamind.be>:
>
> Hello.
>
> I disabled the extension css-styled-content, is that what you mean?
> I now use 'content (default)'.
> Can I disbale css-content in this extension?
>
> The problem with the clear.gif is solved.
>
> Thanks.
> Yoeri.
>
> -----Original Message-----
>
> Hi,
>
> you can disable all default css...
> Have you tried that?
>
>
> 2006/10/17, Yoeri Conickx <yoeri at mediamind.be>:
> >
> > Hello.
> >
> > I'm building a template for the Direct Mail extension.
> > Since the page has to diplay correctly in most programs (Outlook, 
> > Notes,
> > ...) and webclients (Hotmail, Gmail, ...) I can't use
> css-styled-content.
> >
> > Everything works almost and looks great, except this little image 
> > that's been put in front of every paragraph:
> > <img src="clear.gif" width="1" height="5" border="0" class="spacer-gif"
> > alt="" title="" />
> >
> > How can I get rid of this image?
> >
> > I also noticed my <p> tags change in <p style="margin: 0 0 0 0">.
> > How can I change this?
> > I already tried with the following code:
> >
> >
> > styles.content.RTE_encaps_fontwrap.addAttributes.P.style=font-family
> > :V erdana , Arial, Helvetica, sans-serif; font-size:11px;
> >
> > to add the font and the size instead of the margins, but it doesn't
> work.
> >
> > Thanks in advance!
> > Yoeri Conickx.
> >
> >
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list