[TYPO3-english] Mapping Content Element Containers withTypoScript

JoH asenau info at cybercraft.de
Tue Oct 12 13:51:24 CEST 2010


> Have tried :
> 
> page.50.marks.MAIN_CONTENT = TEXT
                                                            ^^^^^^^^^^
> page.50.marks.MAIN_CONTENT < styles.content.get

Should be just

page.50.marks.MAIN_CONTENT < styles.content.get

for markers or

page.50.subparts.MAIN_CONTENT < styles.content.get

for subparts. But this will only work with the CSS-styled-content static included.

To make sure that the markers/subparts are replaced with anything, you could try the TEXT element like this:

page.50.marks.MAIN_CONTENT = TEXT
page.50.marks.MAIN_CONTENT.value = It works!

or

page.50.subparts.MAIN_CONTENT = TEXT
page.50.subparts.MAIN_CONTENT.value = It works!

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com


More information about the TYPO3-english mailing list