David Guerizec wrote:
> What exactly is your error message ?
OK, I start with code-global
<?php
$my_prefs=init_prefs($midgard->user);
?>
Fatal error: Call to unsupported or undefined function init_prefs() in
code-global on line 2
so I change it to this ...
<?php
function init_prefs($user)
{
$pref["_user_id"]=$user;
if($lp=mgd_list_preferences($user))
while($lp->fetch())
{
$pref[$lp->domain][$lp->name][id]=$lp->id;
$pref[$lp->domain][$lp->name][val]=$lp->value;
}
return $pref;
}
$my_prefs=init_prefs($midgard->user);
?>
Fatal error: Can't redeclare already declared function in code-global on
line 13
> 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.
>
This is the only code-global I've got in my style, or pages, and it is
listed in my ROOT
> Best regards,
>
> David
Strange ?
Is your page 1394.html actual code or generic ?
At least the scroll window looks real to me.
This is the last fix I will do before launching our new XtraNet.
We have reps in 75-80 countries. This new version will be awesome
compared to the old static one. Thanks, by the way.
--
Regards,
Blixten
cellular +46-(0)708-999 105
Linux & KDE & Armada M700 !
--
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]