We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21524
    • 90 Posts
    still no luck. in fact, seems like nothing changed at all.
      • 33337
      • 3,975 Posts
      Quote from: nikku at Jun 11, 2009, 02:13 PM

      still no luck. in fact, seems like nothing changed at all.

      You will have to drop the table once you change any parameters.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 30311
        • 3 Posts
        Hi, have somebody experience with AnythingRating snippet and Use friendly alias path?

        It’s not posible votin with URL e.g. www.site.com/en/reference/web

        After voting I get a 404 ERROR page into <div class="score"> block.

        With URL e.g. www.site.com/web it’s OK but friendly alias paths makes problem.

        Thx
        t.
          • 5811
          • 1,717 Posts
          Tomik, the two url give a 404 error ...
            • 5811
            • 1,717 Posts
            otherwise have you added the line <base href="[(site_url)]"/> in the head of your template ?

            The BASE element gives the base URL for dereferencing relative URLs.

            hereafter is an extract of the anythingRating demo page :

            <base href="[(site_url)]"/>
            </head>
            <body id="type-a">
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              <base href="[(site_url)]"/>
              can cause problems with certain common versions of IE; it is probably safer to use
              <base href="[(site_url)]"></base>
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 30311
                • 3 Posts
                coroico, you are amazing. This was exactly this problem.
                <base href="[(site_url)]"/> in the head of template and is working good.
                Thanx
                  • 13771
                  • 5 Posts
                  I love this snippet, but I am having a small problem.

                  When viewing my site and the page that contains the snippet in IE8, the voting seems to be a bit messed up. When I click to vote on an article, it will add stars to the score being displayed. For example, if I click on the third star, it will show a 5 star rating. However, when I refresh the page it will show the correct score. I have looked through the code on FF and on IE8 and noticed that in IE8 the width for the <li class="current-rating"> doesn’t get changed until a page refresh.

                  Has anyone else had this problem? Anyone have any ideas?
                    • 4429
                    • 429 Posts
                    Hmm not getting on well with this.

                    I have a blog of sorts, with in each post(document) I have the call:

                    [!AnythingRating? &define=`1` &atrGrp=`travel`!]
                    [!AnythingRating? &atrGrp=`travel` &nbStars=`5` &itemId=`[*id*]`!]

                    Whenever I try to vote I get a green box with the error
                    undefined
                      • 31876
                      • 33 Posts
                      This snippet is cool, but I’d like show "x/x stars (x votes)" before the stars only if the nb of votes is > 0, is it possible?