[TYPO3] How to have a new line in a string value in typoscript
    Bernd Wilke 
    xoonsji02 at sneakemail.com
       
    Fri Jun  9 15:41:58 CEST 2006
    
    
  
On Fri, 9 Jun 2006 15:06:14 +0200, Martin Kindler wrote
with subject "Re: [TYPO3] How to have a new line in a string value in
typoscript":
> Thanks Peter!
> 
> But it does not work :-(
> 
> If I use
>    page = PAGE
>    page.typeNum = 0
> 
>    page.config.doctype {
>      <?xml version="1.0" encoding="utf-8"?>
>      <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
>          "http://www.wapforum.org/DTD/xhtml-mobile10.dtd" >
>    }
watch the kind of brackets!!!!
you use curly-brackets {} , but you should use round brackets ()
not so easy to distinguish in small fonts.
for germans:
nicht geschweifte, sondern einfache runde Klammern benutzen!!!
> 
> > -----Ursprüngliche Nachricht-----
> > Von: typo3-english-bounces at lists.netfielders.de 
> > [mailto:typo3-english-bounces at lists.netfielders.de] Im 
> > Auftrag von Peter Klein
> > Gesendet: Freitag, 9. Juni 2006 14:48
> > An: typo3-english at lists.netfielders.de
> > Betreff: Re: [TYPO3] How to have a new line in a string value 
> > in typoscript
> > 
> > 
> > Hi Martin, if you use the multiline way of specifying a TS 
> > value, then it 
> > can contain linefeeds.
> > 
> > The "normal way":
> > 
> > blabla.value = this is a test an is all on one line
> > 
> > 
> > The "multiline way":
> > 
> > blabla.value (
> >   this is a test an is
> >   on two line lines
> > )
> > 
-- 
----------------
Bernd Wilke     
Annweilerstr.20 
40229 Düsseldorf
0211/229 2800
    
    
More information about the TYPO3-english
mailing list