[TYPO3-english] Using constants in constants section for TS

Sergio Catalá scatala.enet at gmail.com
Mon Jul 14 17:22:15 CEST 2014


Hi list,

is it allowed to do that?:

tx_newsfefoundation {
         settings {
                 # Ext path
                 extPath = news_fe_foundation/

                 # Private Resources Path
                 privateResourcesRootPath = 
EXT:{$tx_newsfefoundation.settings.extPath}Resources/Private/

                 # Public Resources Path
                 publicResourcesRootPath = 
EXT:{$tx_newsfefoundation.settings.extPath}Resources/Public/
         }
         view {
                 # Path to main templates
                 templateRootPath = 
{$tx_newsfefoundation.settings.privateResourcesRootPath}Templates/

                 # Path to main partials
                 partialRootPath = 
{$tx_newsfefoundation.settings.privateResourcesRootPath}Partials/

                 # Path to main layouts
                 layoutRootPath = 
{$tx_newsfefoundation.settings.privateResourcesRootPath}Layouts/
         }
}

I observed first settings constants are not properly replaced for view 
constants.

Am I doing something wrong or is it not allowed?

Regards,
Sergio


More information about the TYPO3-english mailing list