Support Forum

If you want to show a shortcode in forum post - use [ instead of [ as you write it so you can see the shortcode 😉

We use and recommend UK2 for hosting - get a month free

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register sp_MemberList Members

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
New Calendar layout broke Page
3rd February 2020
9:20 am
Avatar
Member
Members
Forum Posts: 87
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

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.

3rd February 2020
10:16 am
Avatar
Admin
Forum Posts: 808
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

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

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

3rd February 2020
11:03 am
Avatar
Member
Members
Forum Posts: 87
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

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.

3rd February 2020
11:28 am
Avatar
Admin
Forum Posts: 808
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

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,

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription

3rd February 2020
11:47 am
Avatar
Member
Members
Forum Posts: 87
Member Since:
2nd April 2019
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/London

Most Users Ever Online: 93

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Rich Cox: 87

David Z.: 83

Pastor Andres: 83

rrfranks: 53

Allen: 51

Gavin: 36

seanmcint: 29

Jon: 29

Janeen: 23

365sussex: 21

Member Stats:

Guest Posters: 44

Members: 394

Moderators: 0

Admins: 1

Forum Stats:

Groups: 5

Forums: 14

Topics: 529

Posts: 1967

Administrators: andymoyle: 808