[TYPO3-english]  Access TypoScript Settings in Extbase ViewHelper
    Daniel Schmidt 
    ds at t3rocket.de
       
    Tue Nov  6 10:04:57 CET 2012
    
    
  
Hi folks,
I'm trying to access the typoscript settings in my custom viewhelper 
class. I think I'm doing it the right way but something still goes 
wrong as the retrieved array is empty.
I did it this way:
Configuration/TypoScript/setup.txt :
plugin.tx_extension {
	settings {
		itemsPerPage = 20
		
	}
}
Classes/ViewHelpers/TheViewHelper.php :
$settings = $this->templateVariableContainer->get('settings');
As I said, $settings is empty.
Any suggestions?
Thanks,
Daniel Schmidt
    
    
More information about the TYPO3-english
mailing list