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
390416 Lasso Mini-Calendar
340688 EasyCMS for Lasso
318880 Get Records
317781 hierarchal menu tree
314066 UPS XML shipping int...
310910 Password Hash Tag
308323 Fitness Tracker
303791 SiteTranslation
303478 Captcha (Secure Auth...
266112 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