Generating Menu JS files on the fly with PHP

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Summy
Beginner
Beginner
Posts: 9
Joined: Sun May 23, 2004 6:18 pm

Generating Menu JS files on the fly with PHP

Post by Summy »

Who here is generating their menu files dynamically with PHP or some other language?

Im doing so with mine and wondering if I need to send a content type header along with the page? text/javascript or some such?

Matt.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I know you can change the file names from js to php.

I really don't know php and don't want to mislead you.

Are you talking about at the end where you send out the page details in php? Then I do see similar code to what you also write in body of html, but it has all its php paths $ and vars.

maz
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

All the pages and menus at milonic.com are delivered using PHP and we don't need to do anything special with the headers

Cheers
Andy
blaine
Super Advanced
Super Advanced
Posts: 59
Joined: Mon Apr 05, 2004 11:29 pm

Post by blaine »

I've been working on a menu builder plugin for the Geeklog CMS/Portal solution. It's a PHP/MYSQL application and the plugin generates all the menu's dynamically with support to create N-Level deep menus.

Have a look at my demo site that I opened up for users to explore the tool http://demo.portalparts.com
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I don't have geeklog but it looks good.
Maybe the link should keep the link?

maz
blaine
Super Advanced
Super Advanced
Posts: 59
Joined: Mon Apr 05, 2004 11:29 pm

Post by blaine »

Thanks Maz,

The demo site link will stay up for a while but I will probally be changed once I complete the plugin. It will then be promoted on my mail site.

I will add it to the links here at that time.
Post Reply