On Mon, 2008-09-15 at 15:19 +0300, Dmitry Dulepov [typo3] wrote:
> Hi!
>
> Bas v.d. Wiel wrote:
> > Sadly, it still doesn't work. I put the php code into
> > fileadmin/user_popover.php as follows (for now):
>
> If the advice after the next quotation does not help, check that file is
> loaded at
Hi!
Bas v.d. Wiel wrote:
> Sadly, it still doesn't work. I put the php code into
> fileadmin/user_popover.php as follows (for now):
If the advice after the next quotation does not help, check that file is loaded
at all. Put a call to echo to the top of the file (echo 'aaa') and call a page
with
Hi,
> Sadly, it still doesn't work. I put the php code into
> fileadmin/user_popover.php as follows (for now):
>
> class user_popover {
> function newVisitor() {
> return(true);
> }
> }
Try without a class, with a global function
> And my TS Setup field looks like this:
>
> includeLibs.user
Sadly, it still doesn't work. I put the php code into
fileadmin/user_popover.php as follows (for now):
newVisitor()]
..some content..
[end]
No matter what I do, the content is never displayed. And when I replace
the 'return(true);' with a rather radical 'die("function was finally
called");', noth
> You forgot the prefix ;) Every user function must be prefixed with user_ and
> be in fileadmin/. Also you need to add the file into includeLibs.
>
Great, thanks! The TSRef document is out of date on this though. Would
you by any chance know where I can post a 'patch' for this doc?
Bas
__
Hi!
Bas v.d. Wiel wrote:
> Following the instructions in TSRef I created a PHP function in
> localconf.php like so:
>
> all configuration stuff
> function newVisitor() {
> return(true);
> }
> ?>
>
> And I'm calling it from TS with a condition block:
>
> [userFunc = newVisitor()]
> ..
Hello all,
Following the instructions in TSRef I created a PHP function in
localconf.php like so:
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 da