Jump to content

add fields in rss feed for our custom component


papie

Recommended Posts

our feed url:

index.php?option=com_jreviews&url=feeds/reviews/extension:com_custom/

 

file reviews.rss2.thtml

Want to add username and score in description:

 

this is not working:

echo $review['Criteria']['state'] == 1 ? $this->element('detailed_ratings',array('review'=>$review,'reviewType'=>$reviewType)) : ' ';
echo $Community->screenName($review);

 

what is wrong

Link to comment
×
×
  • Create New...