[TYPO3-english] How Typo3 organize the constants in the Constant Editor?

Guillermo R. Oramas J. oramas.g at gmail.com
Tue Jul 26 22:21:26 CEST 2011


Any idea what is the function that parse and render the constants.txt
file? Thanks.

2011/7/25 Guillermo R. Oramas J. <oramas.g at gmail.com>:
> Hello.
>
> I have in my plugin constants.txt file this:
>
> plugin.tx_oriconvocatorias_pi1 {
> #cat=ori convocatorias;type=int+;label=GENERAL - ID Carpeta
> Contenedora:Carpeta del sistema donde buscar las convocatorias a
> presentar.
>        pidList = 1
> #cat=ori convocatorias;type=int+;label=GENERAL - ID Página
> Lista/Detalle:Página donde se va mostrar la vista Lista/Detalle.
>        listPageID = 1
> #cat=ori convocatorias;type=int+;label=LISTA - N° de Caracteres:Número
> máximo de caracteres a mostrar por campo en la vista de listado.
>        vistaLista.maxCars = 200
> #cat=ori convocatorias;type=string;label=DETALLE - Campos:Campos a
> mostrar en la vista detalle y su orden.
>        vistaDetalle.campos =   cid,cnom,corgof_es,cfpub,cfcie,cobjet,clin_es
> }
>
> Each definition is ordered, first GENERAL, then LISTA and then DETALLE.
>
> But when I see for those constants in the constant editor they are
> shown in different order:
>
> LISTA - maxCars
> DETALLE - campos
> GENERAL - listPageID
> GENERAL - pidList
>
> How can I organize them to achieve a properly display?
>
> Thanks in advance.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list