[TYPO3] line breaks in Typoscript

Nathan Lounds loundsna at msu.edu
Mon Jun 19 17:38:51 CEST 2006


Thanks!

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Martin
Kindler
Sent: Monday, June 19, 2006 11:29 AM
To: 'TYPO3 English'
Subject: Re: [TYPO3] line breaks in Typoscript

Thanks to Peter Klein I know the answer:

use the multi-line syntax of TypoScript, i.e. put parentheses (the round
ones ()) around the value.

Example:
foo.10 = TEXT
foo.10.value (
	line 1
      line 2
)

Martin

> -----Ursprüngliche Nachricht-----
> Von: typo3-english-bounces at lists.netfielders.de 
> [mailto:typo3-english-bounces at lists.netfielders.de] Im 
> Auftrag von Nathan Lounds
> Gesendet: Montag, 19. Juni 2006 17:21
> An: 'TYPO3 English'
> Betreff: [TYPO3] line breaks in Typoscript
> 
> 
> Is there a way to let my Typoscript values have line breaks 
> and retain them in the HTML output?
> 
> # Default PAGE object:
> page = PAGE
> page.10 = TEXT
> page.10.value = 
> 	<h1>Header</h1>
> 	<h4>Sub-Header</h4>
> 	<p>How can I Typo3 to keep my HTML formatting<br />
> 	and render all four lines?</p>
> 
> _______________________________________________
> 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