Page 5 of 7

Working with plugins

Posted: Fri Dec 12, 2014 4:11 am
by Joe Tenga

Would it be possible to get a CLEAN explanation of the final solution? Perhaps even a Tutorial could be made from this as I have to believe a lot of people need this functionality.


Working with plugins

Posted: Fri Dec 12, 2014 2:32 pm
by Maryna Brodina

Hello!

Could you clarify what is the exact problem you have?


Working with plugins

Posted: Fri Jun 05, 2015 5:59 pm
by umama fakher

Can you please make a tutorial on getting rating on developer's app?

Many Thanks!


Working with plugins

Posted: Sat Jun 06, 2015 12:34 am
by Evgene Karachevtsev

Umama,

We'll forward your request to our development team, but unfortunately I can't guarantee that this tutorial will be made. We'll get back to you with the update if the outcome will be positive.


Working with plugins

Posted: Tue Jun 09, 2015 5:51 pm
by Mark MB

I was able to integrate the rating system in my app so I thought I share the steps:

  1. Add the .css and .js files to your project keeping the same exact name

  2. Upload the two .gif files to your project. You can do this from project source tab , navigate to WebResources\files\views\assets\image folder and click on the gears icon and upload image.

  3. In the project source view, find the jquery.rating.css file under WebResources\files\views\assets\css folder and update the path for the delete.gif and star.gif files as follows:

    div.rating-cancel,div.rating-cancel a{background:url(../image/delete.gif) no-repeat 0 -16px}
    div.star-rating,div.star-rating a{background:url(../image/star.gif) no-repeat 0 0px}

  4. Add (drag) an HTML component to your page.

  5. In the HTML component, right pane, select Edit HTML and in the HTML Source tab insert the following:

    <html>
    <head>
    <link type="text/css" rel="stylesheet" href="files/views/assets/css/jquery.rating.css"/>
    <script type="text/javascript" src="files/views/assets/js/jquery.rating.js">
    </script>
    <script type="text/javascript" src="files/views/assets/js/jquery.rating.pack.js">
    </script>

    Code: Select all

     </head> 

<input name="star1" type="radio" class="star"/>
<input name="star1" type="radio" class="star"/>
<input name="star1" type="radio" class="star"/>
<input name="star1" type="radio" class="star"/>

</html>
That worked like charm for me.


Working with plugins

Posted: Tue Jun 09, 2015 6:55 pm
by Evgene Karachevtsev

Hello Mark,

Thank you for the update, sure this info will be useful for other users.


Working with plugins

Posted: Wed Jun 10, 2015 4:01 am
by umama fakher

Thankyou so much for your prompt response. !


Working with plugins

Posted: Wed Jun 10, 2015 4:02 am
by umama fakher

Thank you Mark for sharing :) !! I'll try these steps and let you know if it works.

Many thanks!


Working with plugins

Posted: Wed Jun 10, 2015 4:56 pm
by umama fakher

Hey I am getting only one radio button(not a star) on my screen following these steps. I wanted to display five stars for rating. If you can help it will be appreciated. And also when rating will be done by user how can i save that rating in my database?

Thanks in advance.


Working with plugins

Posted: Wed Jun 10, 2015 5:03 pm
by umama fakher

Hey I just got that part. Many thanks Mark :) .. You are Great :) (y) !!

Only thing I need to know how to save this rating in to my database?

Your help will be appreciated. You are Genius :) !! I am Happy!