[Typo3] type=99 + HTML comments
Felix Natter
felix.natter at ldc.de
Fri Oct 28 17:39:32 CEST 2005
hi,
I'd like to send newsletters with direct_mail in plain text or HTML, depending
on the user's choice. Now dmail fetches a plaintext version of a page by using
type=99.
I use (content) elements like greeting and unsubscribe-link in all newsletters,
so I put them in a storage folder and use "insert record" to put them
on the individual newsletter-pages.
The problem is that &type=99 (plaintext version of page) does not quite
work with "insert record" because it inserts HTML comments, like this:
====================================================
<!--DMAILER_SECTION_BOUNDARY_0-->
<!-- Inclusion of other records (by reference): [begin] -->
<!--DMAILER_SECTION_BOUNDARY_0-->
###USER_tx_txfnattergenderdmail_gender### ###USER_title### ###USER_name###!
<!--DMAILER_SECTION_BOUNDARY_END-->
<!-- Inclusion of other records (by reference): [end] -->
<!--DMAILER_SECTION_BOUNDARY_0-->
Dies ist der Inhalt des Newsletters.
<!--DMAILER_SECTION_BOUNDARY_0-->
<!-- Inclusion of other records (by reference): [begin] -->
<!--DMAILER_SECTION_BOUNDARY_0-->
Link zum Abmelden:
http://www.XXX.de/index.php?id=7&cmd=edit&aC=###SYS_AUTHCODE###&rU=###USER_uid###
(Link:
http://www.XXX.de/index.php?id=7&cmd=edit&aC=###SYS_AUTHCODE###&rU=###USER_uid###
)
<!--DMAILER_SECTION_BOUNDARY_END-->
<!-- Inclusion of other records (by reference): [end] -->
<!--DMAILER_SECTION_BOUNDARY_END-->
====================================================
(and for some reason type=99 does not remove them)
How do I get rid of those? Also, how can I remove the "(Link: ...)"?
thank you,
--
Felix Natter
More information about the TYPO3-english
mailing list