[Typo3-dev] Template question? Bug? RC 3.6

Kasper Skårhøj kasper at typo3.com
Fri Apr 2 11:39:12 CEST 2004


According to the TypoScript syntax:

"
/* and */ MUST be the very first characters of a trimmed line in order
to be detected. 
"

It would be too risky to change the parsers behavior. For single line
comments, its even much easier to prefix a "//" or "#" - even in PHP.



On Fri, 2004-04-02 at 11:06, Daniel Pötzinger wrote:
> I have just it test it in this way with an absolut new site.
> And first I didn't have the problem and it works fine, so I searched why it
> is so in my other pagetree.
> Ok and I found it, think it is my fault, sorry! When using an comment in
> this way /* comment */ ( php usualness :-(  )
> 
> 1.) make a absoult new site, make an Template (with rootflag an clear
> constants and setup set.)
> the content of this Template could be:
> page = PAGE
> page.typeNum = 0
> page.10 = TEXT
> page.10.value = HELLO WORLD!
> /* sdjfhdgs f*/
> 
> 
> 2.) make an subsite under this site an in this subsite an extensiontemplate
> (no rootflag an so)
> you can write
> page.10.value = Hello World2
> 
> And it is ignored, but only if the stupid comment is in root Template.
> 
> Another thing which has nothing to be done with this:
> When using Typo3 only over https it seems that the domainrecord did not what
> it should, but I look at this later in the source so I could tell what may
> be the problem..
> 
> Thanks
> 
> 
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
-- 

Best regards

- kasper

---------------
"Zero MS-gravity" - finally migrated to Linux!






More information about the TYPO3-dev mailing list