close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CSS Menu writer

Thread began 2/21/2014 12:19 pm by russb335115 | Last modified 2/25/2014 11:21 am by Jason Byrnes | 418 views | 18 replies |

russb335115

CSS Menu writer

Is there a tutorial to create a menu bar of the alphabet ABC…

I need it to work where a user clicks on the letter A and all the products that start with that letter will appear on the results page in alphabetical order.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

no, there is not a tutorial for this

first create the recordset to return all products

You would need to set the links to pass the letter as a URL variable:

page.php?sort=a

go to the bindings panel, click the plus button and add a new url variable binding named "sort"

then use data assist search. open the server behaviors panel and click the plus button, select WebAssist -> DataAssist -> dataAssist Search

for the trigger, click the lightning bolt icon and select the sort url variable.

add a new criteria, select the product name column, use the Begins With comparison.

in the filter type, select Key Word, for the filter value click the lightning bolt icon and select the sort url variable.

Sign in to reply to this post

russb335115

Okay I set all that up, thanks. Now do I go and use CSS Menu Writer to create my nav bar?

Sign in to reply to this post

Jason ByrnesWebAssist

you could use CSS Menu writer, or add it another way, the key is to add the letters in url variable variable.

Sign in to reply to this post

russb335115

Okay, thank you

Sign in to reply to this post

russb335115

So the link for the letter "A" would be "results.php?sort=A"

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that is correct.

Sign in to reply to this post

russb335115

Here is what I get:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1

See PM

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

russb335115

I sent the file in the previous reply. I am developing on my local server so there's no address to send you. If you don't see the issue then I will upload it to a staging server

Sign in to reply to this post
loading

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