Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Add reviews for displaying events


Reply

2 Posts   442 Views

Avatar
Zinal

24 December 2010 at 10:10pm Community Member, 9 Posts

Hi all,

I have used events module for displaying events.
I want to do "add and list reviews functionality" for particular event.
But i do not have any idea how can i do? so if anyone knows then please give me reply.

Thanks

Avatar
Zinal

28 December 2010 at 2:32am (Last edited: 28 December 2010 2:35am), Community Member, 9 Posts

hi,

I try to list the reviews in the events page in front end.
So I have created database table for events review.
I have used below function for list the review.
public function getReviews()
{
return DataObject::get('eventreview');
}

And for displaying records, i have used
$Reviews.field name

but it is not displayed field name.
please help me if anyone know....