[TYPO3] Condition with userFunc doesn't work at all
Bas v.d. Wiel
j.a.m.v.d.wiel at tue.nl
Mon Sep 15 10:33:06 CEST 2008
Hello all,
Following the instructions in TSRef I created a PHP function in
localconf.php like so:
<?php
....all configuration stuff....
function newVisitor() {
return(true);
}
?>
And I'm calling it from TS with a condition block:
[userFunc = newVisitor()]
..
[end]
The function never gets called though. Am I missing something here? Is
the TSRef maybe not completely up to date anymore? If I put in a die();
call, or t3lib_div::debug some variable, nothing happens either. This
leads me to believe the function never gets called at all. Please help!
Bas
More information about the TYPO3-english
mailing list