Re: Dynamic Navigation w/PHP
| From: | Andy Woolley | Date: | Mon, 19 Nov 2001 16:51:50 +0000 |
| Subject: | Re: Dynamic Navigation w/PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75124@lists.php.net to get a copy of this message | ||
Hi,
You could try using a DHTML menu like the one at
http://www.milonic.co.uk/menu
The array of elements needed can be generated using PHP based on certain
criteria.
Let me know if you or anybody else would like a PHP script creating so that
you could generate menus based on values that you have in PHP.
Regards
Andy.
----- Original Message -----
From: "Mike Elkins" <mwelkins@dwyergroup.com>
To: <php-general@lists.php.net>
Sent: Monday, November 19, 2001 4:17 PM
Subject: [PHP] Dynamic Navigation w/PHP
> Hello All,
>
> I am looking for example code demonstrating the ability to dynamically
> modify website navigation based upon data in a database. Specifically what
I
> am trying to figure out is how to control what pages are available based
> upon whether they have been "enabled" in the database. I am developing a
> template driven website, with content controlled by the database which
> indicates what the customer has opted for. While ten pages might be
> available and part of the web site template, a given customer may have
only
> paid for four, thus when his site is hit, only those four pages will be
> available in the navigation elements. Should the customer care to request
an
> additional feature (page), simply accessing the database and enabling it
> would make it immediately available.
>
> Any suggestions or pointers would be greatly appreciated.
>
> Michael
>