Docs example
Posted: 23 June 2007 06:46 PM   [ Ignore ]
Newbie
Rank
Total Posts:  12
Joined  2007-06-13

the code below is from the Documentation for the Ratings module:

{exp:rating:form entry_id="{entry_id}" form_name="review" require_membership="yes" admin_template="admin_template" anonymous="yes" status="open" return="{path=’rating/thanks’}"
<input type="hidden" name="name" value="{screen_name}" /> 
<
input type="hidden" name="email" value="{email}" /> 
<
label for="review">Your Rating</label
<
select name="rating"
<
option value="1">1</option
<
option value="2">2</option
<
option value="3">3</option
<
option value="4">4</option
<
option value="5">5</option
</
select
<
label for="review">Your Review</label
<
textarea name="review" rows="10" cols="40"></textarea
{/exp:rating:form} 

is that not missing a SUBMIT button?

also, the Readme.txt file does not include instructions to enable the Extension that comes with the module.

thanks.

Profile
 
 
Posted: 23 June 2007 08:06 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  12
Joined  2007-06-13

hmm… more issues with the Documentation:

stars_avg
circles_avg
bar_avg

the anchor links above don’t work on http://solspace.com/docs/entry/rating_20_stats_tag/.

and, consequently, those tags don’t work in my template either.

for example, this doesn’t work:

{exp:rating:stats entry_id="{entry_id}" theme=" default" precision "1" scale "10"}
{bar_avg}
{
/exp:rating:stats} 

but this does:

{exp:rating:stats entry_id="{entry_id}" theme=" default" precision "1" scale "10"}
{overall_avg}
{
/exp:rating:stats} 

I hope this helps.

Profile
 
 
Posted: 25 June 2007 03:22 AM   [ Ignore ]   [ # 2 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  336
Joined  2005-07-09

Thank you very much for bringing this to our attention, it’s been forwared to the appropriate people.

 Signature 

Ingmar Greil

Profile
 
 
   
 
 
‹‹ onclick star rating      need basic form help ››