New Calendar layout broke Page

About Support Calendar New Calendar layout broke Page

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2984
    Avatar for Rich CoxRich Cox
    Participant

    Morning Andy,

    Just to let you know I’ve installed the latest update and it broke the Events page. WordPress threw the following error;

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 17 of the file /home/rich/public_html/wp-content/plugins/church-admin/display/calendar.new.php.
    Error message: Cannot redeclare church_admin_display_calendar() (previously declared in
    /home/rich/public_html/wp-content/plugins/church-admin/display/calendar.php:2)

    Off to try and find out more now.

    Many thanks,
    Rich.

    #4468
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Do you have both types of calendar on the same page?

    #4469
    Avatar for Rich CoxRich Cox
    Participant

    @andymoyle said:
    Do you have both types of calendar on the same page?  

    Yes… I’ve tried it on my test site and that works ok. I’m going back now to delete original page and try again with just the shortcode on the page.

    #4470
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Cool, I should have given the calendar a different function name as conceivably people may put a facilities calendar(s) under the new general calendar.
    Will sort for next update,

    #4472
    Avatar for Rich CoxRich Cox
    Participant

    Hi Andy,

    Thanks for the fab support. You were right… Just one instance on the page fixed the issue.

    An additional for thought though… would it be possible to show short excerpts of the events for the day ?? as the calendar now looks odd with more than say 5 events on it. I guess the other way around this is changing the description for each event to just be a short snappy description??

    Anyways, bless you… thanks for the quick reply.
    Rich.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.