Patrick Ryall Posted September 17, 2009 at 11:41 PM Share Posted September 17, 2009 at 11:41 PM Hi, I am running slightly modified templates for Mtree I have managed to get the everywhere plugin all working I am just not sue about echoing the Jreview stars to replace the default output please see the below code I think I know but would like some clarification please. <div class="listing-field"> <div class="caption">Rating</div> <div class="data"> <?php echo '<div class="rating">'; $this->plugin( 'ratableRating', $this->link, $this->link->link_rating, $this->link->link_votes); echo '</div>'; echo '<div id="total-votes">'; if( $this->link->link_votes <= 1 ) { echo $this->link->link_votes . " " . strtolower(JText::_( 'Vote' )); } elseif ($this->link->link_votes > 1 ) { echo $this->link->link_votes . " " . strtolower(JText::_( 'Votes' )); } echo '</div>'; ?> </div> Link to comment
Alejandro Posted September 18, 2009 at 12:53 AM Share Posted September 18, 2009 at 12:53 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts