if no results? 
Posted: 28 May 2007 08:59 PM   [ Ignore ]
Member
RankRankRank
Total Posts:  68
Joined  2005-12-13

Is there an equivalent to this tag? I’d like to display some text if there are not reviews submitted for a particular entry, i.e. ‘be the first to review blah blah blah...’

Profile
 
 
Posted: 28 May 2007 09:46 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

if no_results is exactly the tag.

If it’s not working for you then you’re invoking your ratings tag inside a weblog entries tag and it’s getting scooped up. Try placing your rating code in a separate template, embed that template into where you need it, passing variables across. You should be able to avoid variable collisions this way. It’s what I do all the time with that rascally module.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 28 May 2007 10:10 PM   [ Ignore ]   [ # 2 ]
Member
RankRankRank
Total Posts:  68
Joined  2005-12-13

As always sir, you are a prince.

Profile
 
 
Posted: 28 May 2007 11:38 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

Wait to thank me if it works.

 Signature 

Mitchell Kimbrough

Profile