close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Validation

Thread began 4/27/2010 10:43 am by adam106173 | Last modified 5/03/2010 6:20 pm by adam106173 | 2025 views | 7 replies

Jimmy Wu

To get the menu to order the same way the side menus are ordered, you will have to order them according to category name alphabetically. To do this, open up the file CSSMenuWriter/cssmw_home/menu.php and find the query that looks like this:
$query_menuwriter_categories = "SELECT CategoryName, CategoryID FROM ps3_categories WHERE CategoryParent = 0";

change it to look like this:
$query_menuwriter_categories = "SELECT CategoryName, CategoryID FROM ps3_categories WHERE CategoryParent = 0 ORDER BY CategoryName ASC";

After doing some testing, it looks like the issue where some of the options are not ordered correctly is caused by having a previous option deleted and the OptionID is reused. For example if you have productA that has options a, b and c, with OptionIDs 1, 2 and 3 respectively, and you delete option b, then there are only options with OptionIDs 1 and 3. If you then add an option say option d, the OptionID that is used is 2. It would take quite a bit of modification to change the way this worked. One thing you can do for the ones that are out of order is to remove that option group and add it in again or go into the database and change the OptionID for the ones you want ordered differently. There's no easier way to do this unfortunately.

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