[TYPO3-english] Page TSConfig included file for gridelements don't work
Jo Hasenau
info at cybercraft.de
Sun Apr 5 11:20:28 CEST 2015
Am 03.04.2015 um 16:29 schrieb Peter Kühnlein:
> Am 03.04.2015 um 15:25 schrieb TSniper:
>> Hello,
>>
>> I worked with a Page TSConfig included file :
>> <INCLUDE_TYPOSCRIPT:
>> source="FILE:fileadmin/templates/Configuration/typoScript/TSConfig/gridelements.ts">
>>
>>
>> in my local installation under WAMP server, everythings working goog.
>> but when i uploaded the project on the server all gridlements are gone.
> Hello stranger,
>
> As far as I remember, the gridelements are stored in a sys folder in the
> database. Uploading the TS alone probably won't do the trick: you have
> to copy the definitions for the elements that are contained in the
> database, if my memory doesn't elude me.
Just for the record. There is no need to have both, included TSconfig
files AND database records, although it will work. Usually the way to go
is to use file based TSconfig wherever possible, since this will
automatically solve the autoincrement problem you may get with database
records.
Still you can use databse records if there is no option to have them
included from files, but then you should use the alias fields to
eliminate autoincrement as well.
This way you can make sure that your layouts will work even after moving
them to another server which might have got layouts already.
Happy Easter
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