We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29851
    • 2 Posts
    thinq4yorself Reply #1, 19 years ago
    As a modx newbie i’ve been all over the forums, google, etc. to find an answer to my question...but have come up short.

    In brief, I want to utilize CSS Star Rating in my MaxiGallery much like you would for using Jot with MaxiGallery; so that when you view the image in its external container (?pic=1, ?pic=2, etc.) you have rating capability for that image (rendered by a chunk?). I’ve implemented MaxiGallery and Jot this way but have no idea how to do this for CSS Star Rating.

    Any ideas? Thoughts? Suggestions?

    I would like to start a dialog here as a means to figure it out, as opposed to just ’it can’t be done’.

    Quick responses are very much appreciated!

    thanks.
      • 7923
      • 4,213 Posts
      You need to modify CSS Star Rating snippet so that instead of saving the rating per document ID, it would save it per MaxiGallery picture id, or Jot comment id. So make own versions for MaxiGallery and Jot that save the ratings to their own database table and modify the code accordingly.. should be pretty easy.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 87
        • 51 Posts
        have you done anything with this? I looked at the script for CSS Star Rating, not sure what to replace and with what...just wondering if you got it working. Not sure if Id use it yet.
          • 29851
          • 2 Posts
          not yet, that project was put on hold just after I asked. I did start to look into the code for each and looks as if it requires some rework as to where you are saving and relating data for each element, but that’s as far as I got. I will keep you posted if/when I start work on it again...likewise.

          thanks.
            • 27302
            • 154 Posts
            Has there been any developments on this? I’m trying to figure out how to integrate a Star Rating for each individual Jot comment, but I don’t really know where to start.
              • 5811
              • 1,717 Posts
              May be AnythingRating could be your solution.
              look at : http://www.modx.wangba.fr for some demos and at: http://modxcms.com/forums/index.php/topic,24771.0.html for some other informations.
                • 27302
                • 154 Posts
                Superb, many thanks for that! smiley