Hi,
From: "Michael Ed" <[EMAIL PROTECTED]>
> Then I did this ...
>
> $my_prefs=init_prefs($midgard->user);
>
> and also got an error.
>
> Is the init_prefs present, or do I have to
> include that code somewhere too ?
>
What exactly is your error message ?
You have to put the function declarations in a place which is accessible for
every pages that wants to access these funcs, so the code-global element is
a good place, provided that you don't override it in a sub-page.
> ... so I tried to declare the function, but the error
> handler told me it was already declared !
> Strange !
Yes, either it's a typo in the function init_prefs, or the code-global is
overriden somewhere...
Please send me exactly the error message and the few lines of code that
generate the error (to have the context), and I'll be able to help you.
BTW, it's not a version issue, cause I develloped these functions on 1.2.3.
Best regards,
David
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]