Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Add reviews for displaying events

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 437 Views
  • Zinal
    Avatar
    Community Member
    9 Posts

    Add reviews for displaying events Link to this post

    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

  • Zinal
    Avatar
    Community Member
    9 Posts

    Re: Add reviews for displaying events Link to this post

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

    437 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.