[Typo3-shop] Avoid extension chaos please

Franz Holzinger franz at fholzinger.com
Mon Dec 13 18:37:34 CET 2004


Hi Volker
>> I am now not quite sure how I can program CONSTANTS, so I have always 
>> used only SETUP variables.
>> I can access this via $this->conf["outputFolder"] only when I have 
>> written it into the SETUP field and not from the CONSTANTS field of 
>> the template.
> 
> 
> right, you`ve to do it like this
> 
> // Constants
> 
> plugin.tt_prodcuts.outputfolder = Youroutputfolder
> 
> // setup
> 
> plugin.tt_prodcuts.outputFolder =  {$plugin.tt_prodcuts.outputfolder}
> 
> Why doing it like this? It's easier to change for updates.

So it will be to configure like this:

// Constants
plugin.tt_prodcuts.outputfolder = fileadmin/data

// setup
plugin.tt_products.outputFolder = {$plugin.tt_prodcuts.outputfolder}


The outputfolder should be a constant and remain the same.

Franz



More information about the TYPO3-project-tt-products mailing list