close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Category Titles

Thread began 8/29/2009 11:09 pm by denise234045 | Last modified 2/17/2010 3:56 pm by denise234045 | 6237 views | 28 replies

Eric Mittman

Ok, that clears it up a bit. To get the name of the category to show when a particular category is chosen you will need to do the following on the product results page:

First you will need to create a new recordset and call it categories. In the simple recordset view you will select all columns from the productcategories table. You will need to filter the recordset on the CategoryID = to the URL parameter CategoryID.

Next you will need to locate the display of the Product List text it should look like this:

php:
Product List<br />



You will need to update it to be like this:

php:
<?php if ($totalRows_categories 0) { // Show if recordset not empty ?><?php echo $row_categories['CategoryName']; ?><br/>

      <?php }else{ ?>Product List<br />
      <?php ?>



I think this will get you the result you are looking for. I'm including a screen shot of the categories recordset screen as a reference.

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