Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:12

Create Menu Items from Directory Structure


Poster: Riceag
Dated: Thursday March 2 2006 - 15:55:01 GMT

Hi Folks,

Can anyone tell me, or supply code, that can dynamically populate an existing Milonic menu with sub-menus based on the contents of a specific directory, with each sub-directory being a new submenu. The last submenu in any cascade needs to show the contents of the sub-directory. (Without file extensions would be great, but not critical)

It is a very complicated directory structure containing all the Company documentation required by the users, and as this documentation changes constantly, trying to hard-code menu items will be a never ending process.

Our Milonic licence no is 201460, and the company is Park Resorts.

Any help would really be appreciated, as without this functionality the menu is of no value to us. :oops:

Tony


Poster: Migru
Dated: Friday March 3 2006 - 11:54:31 GMT

Hi

one option is
you need to get the directory/file structure loaded into a SQL database. From there you create the js menu, please see:

http://www.milonic.com/forum/viewtopic.php?t=1920

Michael


Poster: Migru
Dated: Friday March 3 2006 - 13:01:22 GMT

Hi

another option


Your hint

Quote:
trying to hard-code menu items will be a never ending process.


is not really acceptable, considering that requirements for updating for instance the treemenu/collapsable menu which is recommended for this type of application, is really done in a comfortable and quick way, more or less by copy and paste code and editiing the relevant url(s).

Michael


Poster: Andy
Dated: Friday March 3 2006 - 13:14:48 GMT

What sort of server are you running, get access to ASP or PHP?


Poster: Riceag
Dated: Monday March 6 2006 - 9:17:18 GMT

Andy wrote:
What sort of server are you running, get access to ASP or PHP?


Sorry for delay, days leave on Friday.
I have access to ASP and ASP.net
But menu needs to run under .net