[TYPO3-dev] page-ts in hook
Rupert Germann
rupi at gmx.li
Tue Aug 25 15:36:52 CEST 2009
hi Stefan,
Stefan Beylen schrieb:
> or lets put it another way:
> how can I define a variable in a hook.
> as an example I want that an email is generated when a record is modified.
> the emailaddress will be different on each page, so it would be the best
> if I can change it via page-ts. or are there any other ways?
pagesTSC is OK for this
you can get any value from pagesTSC with something like this:
$pagesTSC = t3lib_BEfunc::getPagesTSconfig($row['pid']);
$mail = $pagesTSC['tx_myext.']['mail'];
hth
rupert
More information about the TYPO3-dev
mailing list