WordPress.org

Support

Support » Plugins and Hacks » CalPress Widget not drawing correctly

CalPress Widget not drawing correctly

Viewing 8 replies - 1 through 8 (of 8 total)
  • britany 32turns
    Member

    @britany32turnscom

    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.

    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

    britany 32turns
    Member

    @britany32turnscom

    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.

    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!

    britany 32turns
    Member

    @britany32turnscom

    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!

    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.

    britany 32turns
    Member

    @britany32turnscom

    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!

    Plugin Author Aspire2
    Member

    @aspire2

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘CalPress Widget not drawing correctly’ is closed to new replies.