Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PollBooth Categories Problem


Recommended Posts

I'm using Poll Booth 2.3 and when I create a poll to be displayed only in a subcategory, it doesn't get displayed if polls are present in top level categories such as at the root of the product tree.

 

Is anyone else having this problem?

 

TIA!

Link to comment
Share on other sites

I found the problem, I am too dumb to fix it. Help would be appreciated!

 

In the table phesis_poll_desc, catID is of type int(11). This cannot be of type integer because it will break on any subcategories such as: index.php?cPath=21_37

It should be of type string to store the correct cPath of 21_37. Any thoughts? That way you can make polls work for any category, even ones several levels deep.

 

HELP!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...