WordPress.org

Ready to get started?Download WordPress

Forums

CalPress Calendar
CalPress Widget not drawing correctly (9 posts)

  1. dba1999
    Member
    Posted 1 year ago #

    Dear sirs, I'm developing a new wp site http://www.dinbalanse.com where I need a Calendr function. Added CallPress to my site with my own theme(Under dev.) and found that the callpress widget is not drawing correctly as I'm used to.

    Any Advice?

    http://wordpress.org/extend/plugins/calpress-event-calendar/

  2. britany 32turns
    Member
    Posted 1 year ago #

    One of my sites also does the same: http://www.rsfptsa.org/

    The widget always says there are no upcoming events. I am on 3.5.2. I am not sure if this is what broke it or not.

  3. grizli12
    Member
    Posted 12 months ago #

    If you don't want to wait for an update (I couldn't any longer lol) and need agenda widget to work as before, replace contents of these 2 files with following:
    wp-content/plugins/calpress-event-calendar/app/view/class-calp-agenda-widget.php
    http://binbox.io/t3i2H#u1F4xGqm

    wp-content/plugins/calpress-event-calendar/app/helper/class-calp-calendar-helper.php
    http://binbox.io/XtKix#k6CC0qHU

  4. britany 32turns
    Member
    Posted 12 months ago #

    Thanks Grizli12. Can you explain what it actually changes? I am nervous to download files from unknown sites. Any chance you can email me the .php files to britany @ 32turns.com? Thanks again for helping me with this.

  5. grizli12
    Member
    Posted 12 months ago #

    Sure, I emailed them to you.

    They revert back to the logic of previous version, where it queried the database for events directly, sorted them and returned the list in old fashioned way. Second file is just a template that displays it - has to be reverted as well, to accept old style list.

    I have no introduced anything myself here, just edited files with SVN changes to exactly as it was (at least tried to).
    If it does not work for you - return newer files.

    Make sure to back the files you currently have first! Before applying this - just in case!

  6. britany 32turns
    Member
    Posted 12 months ago #

    I get this message when adding/replacing those two files.

    Fatal error: Cannot redeclare class Calp_Agenda_Widget in
    /wp-content/plugins/calpress-event-calendar/app/view/class-calp-agenda-widget.php on line 339

    I uninstalled the plugin and readded and it appears to be working now. I am going to add more events and see what happens! Thanks for helping!

  7. grizli12
    Member
    Posted 12 months ago #

    I'm glad re-install helped. Most likely you had different revision, so something didn't click together, and after update it went to latest revision which was compatible with the files I sent.

  8. britany 32turns
    Member
    Posted 12 months ago #

    Grizli, I ran into other issues and decided to uninstall/reinstall and implement your customs files. This worked like a champ! Thanks again for helping me!

  9. Aspire2
    Member
    Plugin Author

    Posted 11 months ago #

    Grizli12 / Britany 32turns - we have just uploaded a new version with fixes for wordpress 3.6 and the widget fix.

    Thanks for help work through this.

    Don

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.