Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Mulltiple Event Calendars? (cheese?)

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 343 Views
  • nekranox
    Avatar
    Community Member
    31 Posts

    Mulltiple Event Calendars? (cheese?) Link to this post

    Hey guys,

    I've got two websites mirrored in my site tree. Each website/branch has an events calendar and a HomePage class which pulls into a summary of events using:

    DataObject::get_one("Calendar")->upcomingEvents(5);

    However, both pages are displaying the events from the first calendar I created. I've tried following the code through to see if I can't put a ParendID=$this->ID somewhere or somthing of the sort but I'm really struggling. Can someone set me on the right path?

    Regards,

    Robbie

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