close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues



Thread began 1/30/2012 11:31 am by this_is_me | Last modified 2/03/2012 3:51 am by this_is_me | 764 views | 2 replies |



I am glad that version 2.10 is working now as expected. What I always miss is the administration of menus for websites. We often have one or two, sometimes even three levels of menus which need to have proper administration. I solve it with a query like:

mysql_select_db($database_mydatabase, $mydatabase);
$query_rsCatselect = "SELECT main.header AS mainheader, main.categories_id AS main_id, main.sort AS mainsorter, sub.header AS subheader, sub.categories_id AS sub_id, sub.sort AS subsorter, AS mainonline, AS subonline FROM categories AS main, categories AS sub WHERE sub.parent=main.categories_id AND = 'Y' ORDER BY mainsorter, subsorter";
$rsCatselect = mysql_query($query_rsCatselect, $sob) or die(mysql_error());
$row_rsCatselect = mysql_fetch_assoc($rsCatselect);
$totalRows_rsCatselect = mysql_num_rows($rsCatselect);

For the main categories I need another query where parent = 0.
I really would like to have something more clever than doing it by hand.

Fortunately there is this great extension called Menuwriter which is built and made to deal exactly with this kind of structure (dynamic menu - nested)

I would like to have an administrative tool to setup a menu more quickly. Also the menu structure from Data Assist for categories needs modification:

CREATE TABLE `productcategories` (
`CategoryID` int(11) NOT NULL auto_increment,
`CategoryName` varchar(50) NOT NULL,
PRIMARY KEY (`CategoryID`)
) ;

to something like:

CREATE TABLE `productcategories` (
`CategoryParent` int(8) NOT NULL,
`CategoryName` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`CategoryID`)

Do you think this idea could be included in version 3 of DA?

Sign in to reply to this post

Ian S

There is no reason why this can't be achieved with the current version of DA and CSS MenuWriter (I've done it in our latest CMS product)

Use DA to create your menu administration pages and CSS MenuWriter to dynamically create the menu on your front end pages.


Sign in to reply to this post


always room for improvement

Hi Ian, thank you for your reply,
the suggested database sql does not meet the parent requirement for categories. I don't want to have two tables like main and sub for categories. See my former mail.
How would be your steps to achieve it with the existing DA? Could you be kind enough to post a short description?

Thank you

Sign in to reply to this post

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





Ease of use


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...