[TYPO3-english] To backend layout or not to backend layout that's the question?

Jo Hasenau info at cybercraft.de
Mon Mar 16 16:52:08 CET 2015


>> Hi, this might sound as a dumb question, but something is not completely clear to me. When applying Grid elements for creating a new content element, its possible to include both the  pageTS and  TS settings like this:
>>
>> In the main template:
>> <INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/gridelements/my_grids/setup.txt">
>> And in the (home) page:
>>
>> <INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/gridelements/my_grids/page_ts.txt">
>>
>> Only this is not providing any new content element in the back end. I still have to create a new back end layout. Only than the element is available in the back end. But than the page_ts.txt file is not needed, right?

The question is: Where exactly do you use the <INCLUDE blah> statements?
The first one belongs into the TypoScript template of your site, while 
the second has to be put into the TSconfig field of the page record, 
which can be found at the Resources tab of the page editing form.

Of course you can include the stuff automatically as well.
See the THEMES project for examples how to do it.

https://github.com/typo3-themes

Cheers

Joey

-- 
Diversity:
Die Kunst zusammen unabhängig zu denken
The art of thinking independently together.
--
Facebook: https://www.facebook.com/johasenau
Twitter: http://twitter.com/bunnyfield
Xing: http://contact.cybercraft.de
TYPO3 cookbook (2nd edition): http://www.typo3experts.com


More information about the TYPO3-english mailing list