[TYPO3] Why would this simple template not work on 3.6?

bernd wilke xoonsji02 at sneakemail.com
Tue Jul 1 23:50:00 CEST 2008


on Tue, 01 Jul 2008 12:24:51 -0700, Ryan Holdren wrote:

> Any ideas why this wouldn't work on typo 3.6? I wrote / tested it on
> typo 3.8 and it works for me, no problem, but apparently it just
> displays:
> 
> ">
> 
> ... Instead of any content. Any ideas?

Just a guess:
you have no real subparts (in 3.6).
either you insert a linebreak between subpart start and subpart end, or 
you change to markers (in HTML-template and typoscript-template)

[...] 
> 		<!-- ###NAVIGATION### ###NAVIGATION### -->
[...]
> 		<h3><!-- ###PAGE_TITLE### ###PAGE_TITLE### --></h3> <!-- 
###CONTENT###
> 		###CONTENT### -->
[...]

change it to
	<!-- ###NAVIGATION### start -->
	<!-- ###NAVIGATION### stop -->
[...]
	<h3>
		<!-- ###PAGE_TITLE### start -->
	    	<!-- ###PAGE_TITLE### stop -->
	</h3> 
	<!-- ###CONTENT### start -->
	<!-- ###CONTENT### stop -->

The linebreaks in the H3-tag may be neccessary anyway as the rest of teh 
line after a subpart-marker is ignored

or better:
	###NAVIGATION###
[...]
	<h3>###PAGE_TITLE###</h3>
	###CONTENT###

bernd
-- 
http://www.pi-phi.de/t3v4/cheatsheet.html


More information about the TYPO3-english mailing list