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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Add reviews for displaying events


Go to End


2 Posts   703 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....