[horde] Custom links in Horde menu?

Hugo Proost horde at proost.net
Tue Jul 29 13:23:05 PDT 2003


<?php
define('HORDE_BASE', '../');
include("../lib/base.php");
include("../navbar.php");
?>

We're getting there. No more PHP errors and I see some icons appearing in a
white toolbar! One thing is missing.... it does not pick up the color of the
theme I am using. (Mozilla - theme)

Hugo



----- Original Message ----- 
From: "Chuck Hagenbuch" <chuck at horde.org>
To: <horde at lists.horde.org>
Sent: Tuesday, July 29, 2003 9:54 PM
Subject: Re: [horde] Custom links in Horde menu?


> Quoting Hugo Proost <horde at proost.net>:
>
> > Notice: Use of undefined constant HORDE_BASE - assumed 'HORDE_BASE' in
> > W:\notlive\www\horde\navbar.php on line 11
> >
> > Warning: main(HORDE_BASE/lib/Menu.php): failed to open stream: No such
file
> > or directory in W:\notlive\www\horde\navbar.php on line 11
> >
> > Fatal error: main(): Failed opening required 'HORDE_BASE/lib/Menu.php'
> > (include_path='.;w:\notlive\bin\php\includes;w:\notlive\bin\pear') in
> > W:\notlive\www\horde\navbar.php on line 11
>
> Alright, so before you include navbar.php, you need to define HORDE_BASE
to
> whatever the base path of Horde is:
>
> define('HORDE_BASE', '/path/to/horde');
>
> You might need to include HORDE_BASE . '/lib/base.php', too.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> They're just looking at a wall of meat.
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>




More information about the horde mailing list