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

Events Module - Announcements on home page


Reply


280 Views

Avatar
bones

Community Member, 104 Posts

28 January 2014 at 11:17pm

Hello

I'm using the Event Calendar with SS 2.4.10. I've successfully managed to get events listed in the side bar of every page. However, the title of Announcements doesn't show.

Take a look at the homepage at http://www.sugarnspice.org.uk. In the sidebar, you'll see that 19th Feb doesn't have a title, but in the full list on the Calendar page (http://www.sugarnspice.org.uk/activities) it does. This "event" is an announcement.

The method for including the calendar events is:

mysite/code/page.php

function UpcomingEvents()
      {
      return DataObject::get_one("Calendar")->Events(3);
      }


(you'll also notice that the number of events is set at 3, but 5 are actually shown. I'm not especially bothered by this though).

Any help you can provide in getting the Announcement title to also be displayed would be very much appreciated. Thank you :)