Joe Tenga
Posts: 0
Joined: Fri Dec 12, 2014 4:11 am

Working with plugins

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Working with plugins

Hello!

Could you clarify what is the exact problem you have?

umama fakher
Posts: 0
Joined: Fri May 22, 2015 4:26 pm

Working with plugins

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

Many Thanks!

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Working with plugins

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.

Mark MB
Posts: 0
Joined: Wed May 27, 2015 7:34 am

Working with plugins

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Working with plugins

Hello Mark,

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

umama fakher
Posts: 0
Joined: Fri May 22, 2015 4:26 pm

Working with plugins

Thankyou so much for your prompt response. !

umama fakher
Posts: 0
Joined: Fri May 22, 2015 4:26 pm

Working with plugins

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

Many thanks!

umama fakher
Posts: 0
Joined: Fri May 22, 2015 4:26 pm

Working with plugins

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.

umama fakher
Posts: 0
Joined: Fri May 22, 2015 4:26 pm

Working with plugins

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!

Return to “Issues”