[TYPO3-english] DIR include of TypoScript

Alessandro Tuveri at at uniud.it
Wed Oct 16 13:46:00 CEST 2013


Hi, thanks for your suggestion.
Howto manage the order when ts in loaded from a folder?
Simply using the name, such as:
000-menu.ts
001-navbar.ts
(and so on...)

or there is another way?

Quoting Ralf-Rene Schröder <ralf.rene at online.de>:

> Am 16.10.2013 08:31, schrieb Christian Essl:
>>> FAZIT:
>>> Only Rene's suggestion actually shows the developers and users  
>>> immediately what for they are! A Folder solution only, would not  
>>> achieve this!
>>
>> Organizing typscript files with a folder structure is very clear to  
>> read. If the Integrator mixes up typoscript snippets of different  
>> kinds, he is clearly doing something wrong and should at least read  
>> the basics about TYPO3 and Typoscript:
>> http://docs.typo3.org/typo3cms/TyposcriptSyntaxReference/
>
> if you hav an installation with, let us say 40 files with typoscript for
> the setup field (for many extensions, page, pageblocs, menus, etc.)
> also 20 files for the constants field (mainly for extensions, menus,
> config, etc)
> and 10 individual extension typoscript files for the pageTSconfig field
>
> in the past we have to organize it in a tree like this:
> TypoScript
>   setup
>     ...individual tree
>   constants
>     ...individual tree
>   pageTSconfig
>     ...individual tree
>
> the files that belong together for let us say the news extension are
> splittet in three folders in the tree
>
> with the NEW (in 6.2) possibility, i only need ONE Tree (all files from
> the news extension are in one folder)... and for THIS useage it would be
> a good start to give recomended fileextensions !!!
>
> see on TYPO3.org
> http://typo3.org/news/article/typo3-cms-62-lts-alpha3-released/
> Frontend Rendering / TypoScript
> A nice addition for integrators: INCLUDE_TYPOSCRIPT now is able to
> recursively add all files from a directory (and it's subdirectories)
> (#34621). For example:
> <INCLUDE TYPOSCRIPT: source="DIR:directorypath" extensions="ts">
> If the additional property extensions=".." is provided, only files with
> these file extensions are included. This allows e.g. to include both
> setup and constants from the same directory tree, using different file
> extensions for each.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
> --
> image[FORMAT] - Ralf-René Schröder
> http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



ALESSANDRO TUVERI

--------------------------------------
AREA SERVIZI INFORMATICI E MULTIMEDIALI
Servizi WEeb d'Ateneo
Universit? degli Studi di Udine
tel. ufficio 0432-558904
--------------------------------------
Homo sine pecunia est imago mortis
--------------------------------------

----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine




More information about the TYPO3-english mailing list