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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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