close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

order of catagories in side nav

Thread began 10/27/2009 1:43 pm by segalmedia367166 | Last modified 11/04/2009 2:53 pm by Jason Byrnes | 1590 views | 3 replies |

segalmedia367166

order of catagories in side nav

Dear WA,

My client wants to control the order of their categories as well their products. I understood the order to be set ascending or descending alphabetically. Check this link:
contactus.php
What is controlling the Coats Leashes Collars order? Is it the order in which I entered the catagories?

Thanks,

Lisa

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, by default, the recordset will use the primary key column if there is no ORDER BY statement, so the categories will display in the order you enter them.

Sign in to reply to this post

paputxi

Is there any (hopefully, easy) way to reorder the categories list that is displayed? I know if I delete a category name and re-add it (in hopes that it would show up at the end of the list), I loose all the entries associated with that category, which is not what I want.

Any advice would be greatly appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

The recordset is on the CSSMenuWriter/intermediate.php page:
SELECT * FROM productcategories WHERE CategoryID = (SELECT ProductCategoryID FROM products WHERE ProductCategoryID = CategoryID AND ProductLive <> 0 LIMIT 1)

you just need to add an order by clause:
SELECT * FROM productcategories WHERE CategoryID = (SELECT ProductCategoryID FROM products WHERE ProductCategoryID = CategoryID AND ProductLive <> 0 LIMIT 1) ORDER BY CategoryName

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

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