Multiple Rating Plugin


Topic: Multiple Rating Plugin

Byron Cross pro premium asked 9 months ago

I have 9 cards on one page but when I add the rating plugin to all nine it only allows for one card to be rated. What can I do to make all nine cards rate differently? Thanks.

Piotr Obrebski staff answered 9 months ago

Hi Byron Cross,

Our MDB rating.js addon is a simple way of implementing rating to your page. It does not support by default rating multiple elements on site because of its basic implementation. However, we are currently working on improving this addon in the future. For now, You can try to change the code in rating.js to serve your needs. My quick workaround for your problem requires you to initialize code for rating 9 times with different classes and ids. We will try to make it reusable on a single page in the future but for now, try to implement it yourself using our code as a base.

Best Regards, Piotr

Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: jQuery
  • MDB Version: 4.8.2
  • Device: Mac
  • Browser: Chrome
  • OS: Mojave
  • Provided sample code: No
  • Provided link: No