WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Tools problem with Sidebar Modules (9 posts)

  1. krynsky
    Member
    Posted 7 years ago #

    Alex, great job on getting this done so quickly. Looks like there may be issues if using Sidebar Modules as opposed to widgets. I’m using them within K2 and they cause all modules to disappear in the console. The site still operates fine.

  2. Alex King
    Member
    Posted 7 years ago #

    If there is an easy fix and someone submits a patch, I'll take a look.

  3. Dan Cameron
    Member
    Posted 7 years ago #

    I didn't notice this before commenting on AK's site but if you change line 567 to

    add_action(’plugins_loaded‘, ‘aktt_widget_init’);

    the plugin will work.

  4. Alex King
    Member
    Posted 7 years ago #

    Hmm, I kinda like hooking in at init - that's when everything is accessible.

  5. cwdaniels
    Member
    Posted 7 years ago #

    I changed line 567 to

    add_action(’plugins_loaded‘, ‘aktt_widget_init’);

    but now nothing will show up. Before text would show up and say that no feed/update was available but now there isn't even any text.

    Any thoughts?

  6. cwdaniels
    Member
    Posted 7 years ago #

    I tried updating to 1.0b3 but still getting a fatal error in the sidebar. Is it the sidebar modules doing this? Thanks for your help.

  7. Alex King
    Member
    Posted 7 years ago #

    Twitter Tools is not tested with Sidebar Modules, so if it does work it is by happy coincidence.

  8. Jamie Thingelstad
    Member
    Posted 7 years ago #

    This fix worked for me, but note that as of March 24th it is not line 567, but instead line 537 where this line is.

    It does seem to make it work fine with Sidebar Modules (I'm using K2 as well).

  9. cwdaniels
    Member
    Posted 7 years ago #

    Hey thanks for the help, it's working fine. I just edited line 537 with the edit above and used a php module with the call <?php aktt_sidebar_tweets(); ?>

    And it's working.

Topic Closed

This topic has been closed to new replies.

About this Topic