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   460 Views

Avatar
Zinal

Community Member, 9 Posts

24 December 2010 at 10:10pm

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

Community Member, 9 Posts

28 December 2010 at 2:32am

Edited: 28/12/2010 2:35am

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....