#18107Hook for manipulating the cHash
Description
In some situations it would be nice, if the cHash could be manipulated by a userfunction e.g. when you want’s to have different views on a page based on a session value
HEre is the hook, but a patch is needed in cHashParams
> //updated 15.10.07 by Carsten Lausen, hook to extend cHashParams
> global $TYPO3_CONF_VARS;
> if (is_array($TYPO3_CONF_VARS[‘SC_OPTIONS’][‘t3lib/class.t3lib_div.php’][‘cHashParams’])) {
> foreach($TYPO3_CONF_VARS[‘SC_OPTIONS’][‘t3lib/class.t3lib_div.php’][‘cHashParams’] as $classRef) {
> $hookObj = &t3lib_div::getUserObj($classRef);
> if (method_exists($hookObj, ‘cHashParams’)) {
> $hookObj->cHashParams($params, $pA);
> }
> }
> }
(issue imported from #M7369)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.