Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > How to Modify Product Rating Multiple Time as per our need against the Products View modes: 
User avatar
Member
Member
manojdubey-id8labs - 6/25/2013 2:41:16 AM
   
How to Modify Product Rating Multiple Time as per our need against the Products
I want to modify Product Rating time to time as per my need
Could any one help me

User avatar
Member
Member
Swainy - 6/25/2013 5:28:27 AM
   
RE:How to Modify Product Rating Multiple Time as per our need against the Products
Hi Mano,

What exactly are you trying to achieve?

Thanks,
Matt

User avatar
Member
Member
manojdubey-id8labs - 6/25/2013 5:37:36 AM
   
RE:How to Modify Product Rating Multiple Time as per our need against the Products
On the Product Details Page i want to do rating of a product it allow me only once
if i want to do for multiple time for one product of one user then it is not allow us to do
i want help on multiple times one product rating selection this option i want to implement in the product details page for rating of one products

User avatar
Member
Member
manojdubey-id8labs - 6/25/2013 7:59:51 AM
   
RE:How to Modify Product Rating Multiple Time as per our need against the Products
This is the code what i have in this user are allow to do only once rating to select one product for one user

i want to allow user to do multiple time rating for one products of one user
pls help
<%@ Register Src="~/CMSAdminControls/ContentRating/RatingControl.ascx" TagName="RatingControl" TagPrefix="cms" %> 
<div class="newsItemDetail">
<h1>
<%# Eval("NewsTitle") %></h1>
<div class="NewsSummary">
<%# IfEmpty(Eval("NewsTeaser"), "", GetImage("NewsTeaser")) %>
<div class="NewsContent">
<div class="Date">
<%# GetDateTime("NewsReleaseDate", "d") %>
</div>
<div class="TextContent">
<%# Eval("NewsSummary") %>
</div>
</div>
<div
class="Clearer"> 
</div>
</div>
<div class="NewsBody">
<div class="TextContent">
<%# Eval("NewsText") %>
</div>
<cms:RatingControl ID="elemRating" runat="server" Enabled="true" RatingType="Stars" ExternalValue='
<%# Convert.ToString(CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatingValue"), 0)/((CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatings"), 0) == 0?1:CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatings"), 1)))) %>' />
</div>
</div>

User avatar
Member
Member
Swainy - 6/25/2013 10:14:27 AM
   
RE:How to Modify Product Rating Multiple Time as per our need against the Products
Hi,

This web part has a property when you add the web part to the page called 'CheckIfUserRated' if you set this to false then it will allow the user to rate the product multiple times.

Is this what you need?

Thanks,
Matt

User avatar
Member
Member
manojdubey-id8labs - 6/28/2013 6:13:14 AM
   
RE:How to Modify Product Rating Multiple Time as per our need against the Products
My Question ;- How to Modify Product Rating Multiple Time as per our need against the Products

But What i want

I want the below code to be implemented like after looking the given link (http://www.learnkenticocms.com/Video-Library/Videos/Web-Part-Overview.aspx)

Please see the below section ie.
Comments
below
Leave Message
below
Your Rating:->

In the your Rating option, we can modify as many time as we required

Please modify the below code as per my requirement :-

<%@ Register Src="~/CMSAdminControls/ContentRating/RatingControl.ascx" TagName="RatingControl" TagPrefix="cms" %>
<div class="newsItemDetail">
<h1>
<%# Eval("NewsTitle") %></h1>
<div class="NewsSummary">
<%# IfEmpty(Eval("NewsTeaser"), "", GetImage("NewsTeaser")) %>
<div class="NewsContent">
<div class="Date">
<%# GetDateTime("NewsReleaseDate", "d") %>
</div>
<div class="TextContent">
<%# Eval("NewsSummary") %>
</div>
</div>
<div
class="Clearer"> 
</div>
</div>
<div class="NewsBody">
<div class="TextContent">
<%# Eval("NewsText") %>
</div>
<cms:RatingControl ID="elemRating" runat="server" Enabled="true" RatingType="Stars" ExternalValue='
<%# Convert.ToString(CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatingValue"), 0)/((CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatings"), 0) == 0?1:CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatings"), 1)))) %>' />
</div>
</div>

Help me.
Waiting.....

User avatar
Member
Member
kentico_sandroj - 7/2/2013 4:09:26 PM
   
RE:How to Modify Product Rating Multiple Time as per our need against the Products
Hello,

We are able to give you a general direction and perhaps write a code sample, depending on the project, but we do not write custom code. If you would like to hire someone to complete this project for you, we have a list of qualified partners available on this page of our site. If you have questions about a specific method or best practice for implementation, please let us know and we can answer that for you.

Regards,
Sandro