close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

where is the SQL table design

Thread began 6/15/2009 10:12 pm by web_assist_mail157665 | Last modified 6/29/2009 10:42 am by web_assist_mail157665 | 1666 views | 2 replies

web_assist_mail157665

where is the SQL table design

OK figured it - you do NOT need two tables to do multiple nesting - the setup below seems to work fine!

filter the root level on an entered value of 0
filter the rest/nested by fk_id_sec

and pass the URL dynamically with
/[url_sec]?id_sec=[id_sec]
in the LINK box
?id_sec=[id_sec] is there as I filter the page content by the section ID
-------------------------------------------------------------
Need to set up multiple level dynamic menu fast!!!!

where are the table and column definitions?

normally my navigation/section table is simple - with fk_id_sec keying to the id_sec of its parent - and being left 0 (zero) if it is in the root navigation list

ie
id_sec - fk_id_sec - title_sec
1 - 0 - Home
2 - 0 - About
3 - 0 - Contact
4 - 3 - ContactShop (Subsection of Contact)
5 - 4 - Shop Managers (Nested Subsection of ContactShop)



the documentation with this menu extension is really sketchy here and obviously takes a different approach
but its really not clear whats going on




CREATE TABLE `section_sec` (
`id_sec` int(11) NOT NULL auto_increment,
`fk_id_sec` int(11) default '0',
`title_sec` varchar(32) default NULL,
`url_sec` varchar(32) NOT NULL default 'index.php',
`page_title_sec` varchar(72) default NULL,
`meta_description_sec` varchar(255) default NULL,
`meta_keywords_sec` varchar(255) default NULL,
`order_sec` int(11) default NULL,
`publish_sec` int(11) NOT NULL default '1',
PRIMARY KEY (`id_sec`)
) ENGINE=MyISAM AUTO_INCREMENT=64 DEFAULT CHARSET=latin1

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...