LassoForge Banner
Left_of_Navbar Projects contributors Forums Sponsors contact LassoBin
Bottom Spacer L Bottom Spacer R
Register with Us!
or
Login :
Password :

Search
Enter a name, project number
or description :

Current projects
Ranked by popularity
Views Project Name
396299 Lasso Mini-Calendar
346657 EasyCMS for Lasso
324786 Get Records
323894 hierarchal menu tree
320034 UPS XML shipping int...
316781 Password Hash Tag
314258 Fitness Tracker
309528 Captcha (Secure Auth...
309466 SiteTranslation
272912 LassoBlogger
 
( mouse over for FULL title )
spacer spacer

Download Version

Project Name: hierarchal menu tree

Project Status: Active

Project Manager: Brian Loomis

Description: This is a lassoscript that creates navigation expandable menu tree off of a MySQL table. Using the MySQL table as a content engine, you can add a large number of pages to a site and have this lassoscript build the menutree dynamically.

It expands and collapses based on the page you are viewing and you can embed page content in the table as text or html and there is a content type column that allows you to specify what type of content is. I use this on several sites to specify that the content is html or plain text and use the appropriate -encode flag.

I've also used this column to call external files as includes, and wrote a lassoscript for the main body of the page to detect the content type of that field.

Look at the enclosed screenshot from Navicat to see how the different columns affect sort order, the outer part - to the inner part and I'll leave this link up on my server so that you can see how the menu functions.

http://wl.virtualrelations.us/brian/menuMap.lasso

Project work by Tonya Robbins and Brian Loomis</p>

Version Developer: Brian Loomis


Click Here to Download Version File: simple_menu_tree.sit  
You may expand or collapse the tree to access individual files.

Return to This Project's Home Page