[Typo3] Plaintext formatting
Francois Suter
fsuter at cobweb.ch
Wed Aug 31 11:37:15 CEST 2005
Hi all,
I am trying to have a correct presentation of my pages in plain text
for Direct Mail. I am using Typo3 3.7.0 with TemplaVoilà 0.3.0. I have
read Peter Kindström's excellent wiki [1][2] about setting this up, but
it doesn't seem to work as expected. I already posted this to the
Direct Mail newsgroup, but nobody could help. Anyway it is not really a
Direct Mail problem.
Here is part of my plain text setup:
lib.alt_plaintext.renderObj.header.1.preLineBlanks >
lib.alt_plaintext.renderObj.header.1.postLineBlanks = 1
lib.alt_plaintext.renderObj.header.1.preLineLen = 60
lib.alt_plaintext.renderObj.header.1.postLineLen = 60
lib.alt_plaintext.renderObj.header.1.preLineChar = -
lib.alt_plaintext.renderObj.header.1.postLineChar = -
lib.alt_plaintext.renderObj.header.2 <
lib.alt_plaintext.renderObj.header.1
lib.alt_plaintext.renderObj.header.3 <
lib.alt_plaintext.renderObj.header.1
Then there's the following:
[globalVar = GP:print > 0]
tt_content < lib.alt_plaintext.renderObj
[end]
When looking at that in the TypoScript Object Browser, it appears
correct. When I check the GP:print condition, I can see that tt_content
is indeed replaced. But when I look at my page, I have a couple of <h3>
tags which should be wrapped with lines full of "-", but nothing
happens. The text is rendered as is
Related question: can <hr> tags be rendered in plain text? I explored
the TypoScript Object Browser but could find nothing.
Thanks for any help
François Suter
Directeur technique
-----------------------------------------------------
Cobweb Development Sàrl
www.cobweb.ch
-----------------------------------------------------
[1] http://www.infolagret.se/typowiki/index.php/Ext/Direct_mail
[2]
http://www.infolagret.se/typowiki/index.php/Ext/Direct_mail_Reference
More information about the TYPO3-english
mailing list