close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Side menu categories

Thread began 2/03/2010 1:28 pm by paul.urgero235355 | Last modified 2/05/2010 8:08 pm by paul.urgero235355 | 943 views | 7 replies |

Paul

Side menu categories

The site I'm doing is for a company that has about 16 categories, but almost 500 products. So obviously, if someone clicks on any of the Product\category links, they are going to see hundreds of products listed on the left sidebar.

How do I have the categories on the side menu become collapsible? In other words, only show the categories on the left, or the category requested and their corresponding products?

Make sense?
Thanks for your help...

Paul

Sign in to reply to this post

muddysmurf

I was just about to post a question about this too.. and I was going to add on another complex question.

Sign in to reply to this post

John_GR

would also like a reply on this...

Sign in to reply to this post

Jason ByrnesWebAssist

It takes a fair bit of hand coding to make this happen, it is not a simple edit and is not supported.


You have to edit the CSSMenuWriter/intermediate.php file to dynamically create a spry accordion for each category


In the intermediate.php file, there are two loops, the first loop displays each category, use this loop to create the spry accordion. The second loop shows all the items in that category, use this loop within the collapsible frame.


If you are comfortable with the Spry Frame work and hand coding PHP, this should not be to difficult.



Just FYI, this is a feature we hope to offer in PowerStore V3

Sign in to reply to this post

Paul

Jason,

I understand that this is a feature you "hope" to offer in V3...but if upgrading to V3 is anything like upgrading to V2, it is a fresh installation then. I just did that from V1 to v2. Is V3 going to be a clean install?

Also, since this is not part of V2, can you or someone create the intermediate.php page and offer it to us? Or at least the first category that we can copy and paste sort of?

How am I supposed to tell the client that he's stuck with 300-400 products streaming down the left side of the page?

<intentional suckup here> C'mon Jason, I know you to be a very nice guy, who spent 3 hours 1 day on the phone with me until the problem was fixed. Can you help all of us out here and write it up for us?

Thanks
Paul

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, the update to PowerStore 3 will be a clean install, mostly because the database structure has been changed to offer new futures such as subcategories.

In reality, the functionality you are asking for is not a supported feature of PowerStore 2, it will be supported by PowerStore 3.

I am more than will to go the extra mile if you are having trouble implementing a supported feature of the products we offer. What you are asking for, goes beyond the scope of support, you are asking for free custom development.

If you are not happy with the products being listed on side, you can always remove that code so that it only displays the categories.

the code to remove from the intermediate.php is:

php:
<ul >

  <?php do { ?>
      <?php if ($totalRows_ProductMenu 0) { // Show if recordset not empty ?>
  <li><span><a href="<?php echo($assumedRoot); ?>Products_Detail.php?ProductID=<?php echo $row_ProductMenu['ProductID']; ?>"><?php print $row_ProductMenu['ProductName']; ?></a></span></li>
  <?php // Show if recordset not empty ?>
<?php 
} while ($row_ProductMenu mysql_fetch_assoc($ProductMenu)); ?></ul>
Sign in to reply to this post

Paul

Actually, Jason...that worked fine. Having the categories only on the left side bar works better.

Thanks again for your help!

Paul

Sign in to reply to this post

Paul

If anyone is able to create the spry accordions and would like to share their handiwork, please post it here! :)

Thanks

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