[TYPO3-english] EXT:pagebrowse additionalParameters Hook
Dmitry Dulepov
dmitry at typo3.org
Mon Mar 9 11:10:31 CET 2009
Hi!
Henrik Ziegenhain wrote:
> Thanks for the example function, works fine for new piVars.
> You thought right, I need to pass existing piVars.
You can do this with configuration. Read about query string parameters.
> Here is my new problem: How to get this piVars to the hook function.
> $this->piVars doesn`t work, its empty :(
$this is an instance of tx_pagebrowse_pi1. It does not have piVars. You need to use $params['pObj']->piVars.
> The usage of hooks is very confusing for me this first time...
Reread the docs ;)
--
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/
More information about the TYPO3-english
mailing list