I am creating a knowledge base and have created a custom content type and template for knowledge base articles (KBAs). I am currently hoping to use the jrating module for voting (have it enabled in drupal). In the presentation of the KBAs, I am desiring to have the jrating rating:

Average rating ***** (X votes)

... show up just underneath the title, but have the jrating form:

Rate This (-)*****

... displayed after the content of the page, for example:

---------------------------------------

KBA Title

Average rating ***** (X votes)

[Page Content]

Rate This (-)*****

[Page Links and Comments]

---------------------------------------

Essentially, I want to know if I can call just the jrating rating html or just the jrating form html, or if I am limited to getting the html of both together. I tried calling the jrating html twice and hiding one of the forms via css, but since there are still two actual forms with the same name in the html, the "Rate This" form interaction gets buggy.

Thanks in advance for the help.

-gary

Comments

hickory’s picture

You can't do this at the moment, but if you file a feature request on the jrating module it might well happen. For now you could use javascript to move the form to a different part of the page, if you wanted.

hickory’s picture

Actually, the 'Rate this' text and the rating stars are written by the javascript. I'll try and make it so you can position them anywhere.

jadams1-1’s picture

This would be a great feature for a great module. Thank you.