WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Tabbed Widgets] Enabling widget disables Widget menu (20 posts)

  1. hedgehogsbottom
    Member
    Posted 4 years ago #

    Installed widget, activated it, went to Dashboard / Appearance / Widgets and the browser window showed:-

    [[]]

    ... with nothing else in the window.

    Deactivated the plugin and the Appearance/Widgets screen works again.

    What more do you need to know to fix this most confusing problem?

    http://wordpress.org/extend/plugins/tabbed-widgets/

  2. Kaspars
    Member
    Posted 4 years ago #

    Two questions:

    1. Which version of PHP are you using?
    2. Were you using regular widgets in your theme before activating this plugin?

  3. jeffwithag
    Member
    Posted 4 years ago #

    Hey Kasp, I tried installing and setting up this plugin tonight. I selected a few widgets and saved it, went to my site and all widgets added are listed, but not in tabbed form. IE: They are all listed together.

    website: jeffwithag.com
    wordpress version: 2.8.1
    php version: 5.2.9
    tabbed widgets: posts, forums, comments

    Also I noticed some web chat about before-widget settings and what not, so here are mine:

    'before_widget' => '<li id="%1$s" class="widget %2$s"><div class="widget-top">',
    'after_widget' => '</div><div class="widget-bottom"></div></li>',
    'before_title' => '<h4 class="widget-title">',
    'after_title' => '</h4>',

    Lastly, I also read some web chat about jquery settings, but am unsure exactly what that entails.

    Anyway, I'd appreciate any direction you're able to offer.

    Thanks,
    Geoff

  4. gideonstrumpet
    Member
    Posted 4 years ago #

    I have the same problem. The "tabbed widget" menu has disappeared and the widgets are appearing as regular widgets in the sidebar instead of tabbed.

  5. gideonstrumpet
    Member
    Posted 4 years ago #

    Some further information: I deleted and re-installed and I've made sure that the "widgets" in the invisible area are the exact same widgets I've selected in the "tabbed widgets" widget as Tab 1 and Tab 2.

    Also, I'm running 2.8.6.

    For visual confirmation, my site is here.

  6. Kaspars
    Member
    Posted 4 years ago #

    jeffwithag, it looks like your theme "RidZine" is causing a javascript error:

    "jQuery("#tab-content").tabs is not a function"

    which is caused by

    jQuery('#tab-content').tabs({ fxSlide: true });

    To check if that is the problem, try commenting out that line:

    // jQuery('#tab-content').tabs({ fxSlide: true });

  7. Kaspars
    Member
    Posted 4 years ago #

    gideonstrumpet, please try the new version -- 0.82, and let me know if that fixes the problem.

  8. gideonstrumpet
    Member
    Posted 4 years ago #

    Nope, no change!

  9. gideonstrumpet
    Member
    Posted 4 years ago #

    If it may be of further use, it seems that the information I enter in the widget (title of the tabbed widget itself, title of each individual tab) is reflected on the blog, it's just the format that doesn't work: i.e. they don't appear in tabs; the rest of the info seems to update.

    Edit: I added a third tab in the widgets interface to confirm ("pages") and as you can see it shows up on the blog.

    Switching to "accordion" makes no difference.

    By the way, thanks for the plugin and for the attempt to fix this. It's appreciated quite a bit.

  10. jeffwithag
    Member
    Posted 4 years ago #

    Ok, I'll start looking for the line of code. I'll go grab some editor online that allows searching via directories, it should help me quickly locate what file it's in. Besides I should be using a decent editor anyway.

    Thanks,
    Geoff

  11. Kaspars
    Member
    Posted 4 years ago #

    gideonstrumpet, could you please create a temporary login for me, my email address is kaspars at konstruktors.com

  12. jeffwithag
    Member
    Posted 4 years ago #

    Bear with me, I'm in unchartered grounds for me. I remarked it out, but still see the following two errors when I goto the error console

    First Error:

    Error: syntax error
    Source File: http://jeffwithag.com/wp-content/plugins/tabbed-widgets/tabbed-widgets.php?returnjs=true&ver=2.8.1
    Line: 6, Column: 33
    Source Code:
    $rotateoptions[2]["start_tab"] = ;

    When I open it I see the following:

    var $rotateoptions = new Array();
    $rotateoptions[2] = new Array();
    $rotateoptions[2]["style"] = "";
    $rotateoptions[2]["rotate"] = 0;
    $rotateoptions[2]["random_start"] = 0;
    $rotateoptions[2]["start_tab"] = ;
    $rotateoptions[2]["interval"] = 1000;
    $rotateoptions[3] = new Array();
    $rotateoptions[3]["style"] = "tabs";
    $rotateoptions[3]["rotate"] = 1;
    $rotateoptions[3]["random_start"] = 0;
    $rotateoptions[3]["start_tab"] = default;
    $rotateoptions[3]["interval"] = 3000;

    Second Error:

    Error: jQuery is not defined
    Source File: http://jeffwithag.com/wp-content/themes/RidZine/RidZine/js/jquery.tabs.pack.js
    Line: 14

    I did notice that I had the following:

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.2.6-packed.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/glide.noconflict.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.tabs.pack.js"></script>

    but nothing specific for jquery.js. Should the ones above cover what I need?

    Thanks again for any direction.
    Geoff

  13. jeffwithag
    Member
    Posted 4 years ago #

    Just FYI I unremarked the initial error you mention again, but can remark it back if you think it should remain so!

  14. Kaspars
    Member
    Posted 4 years ago #

    jeffwithag, thanks for your detailed report. This problem you mention:

    $rotateoptions[2]["start_tab"] = ;

    was supposedly solved by the 0.82 update. Have you installed it?

  15. hedgehogsbottom
    Member
    Posted 4 years ago #

    Upgraded to 0.83 and now the Widget menu displays just:-

    [%%]

    ... so I've needed to disable your widget again :(

    1. Which version of PHP are you using?
    PHP version 5.2.11

    My PHP error log shows nothing recorded when I run the Widgets page (with Tabbed Widgets enabled)

    2. Were you using regular widgets in your theme before activating this plugin?
    Nope. I've been using WordPress for 6 months, using Hybrid News theme, Dashboard says I'm using 12 Widgets (several of which I've installed after WordPress was installed).

    My Widgets page shows:-

    • AddThis
    • Advertisement
    • Akismet
    • AmazonFeed
    • Archives
    • Authors
    • Bookmarks
    • Calendar
    • Categories
    • GD Blog Rating
    • GD Comments Rating
    • GD Star Rating
    • ICS Calendar
    • Meta
    • Pages
    • PHP Code
    • Recent Comments
    • RSS
    • Search
    • Tags
    • Text
    • YARRP
    • Yoast Taxonomy Widget
  16. Kaspars
    Member
    Posted 4 years ago #

    hedgehogsbottom, could you please temporarily disable the plugin which creates the "PHP Code" widget.

  17. jeffwithag
    Member
    Posted 4 years ago #

    I've updated to 8.3 and I disabled inline php code plugin (wasn't using it anyway) and tada, it works! Only thing not working currently is the "Rotate tabs with interval (in seconds)" option, but that's not a major concern for me.

    Thank you for your help getting this up and running. I apologize about the confusion regarding the version installed, I thought I updated to most recent version just the other day.

    Thanks again,
    Geoff

  18. hedgehogsbottom
    Member
    Posted 4 years ago #

    could you please temporarily disable the plugin which creates the "PHP Code" widget.

    Yup - results was that when I visit the Widgets page (/wp-admin/widgets.php) the same things happens - the Widget menu page only shows "[%%]".

    Have re-enabled my PHP Code widget again.

    Just to re-iterate, I haven't actually been able to try the Widget yet - so my problem isn't a problem about the widget failing to work ... it's not being able to get to the Widget admin menu - though my thread appears to have been hijacked ;)

  19. Kaspars
    Member
    Posted 4 years ago #

    hedgehogsbottom, could you please create a temporary login for me. My email address is kaspars at konstruktors.com. I will take a look.

    It seems that one of your plugins is using output buffering and there is a collision with the buffer which Tabbed Widgets use to determine titles of the widgets.

  20. windoweast
    Member
    Posted 3 years ago #

    My widgets are hijacked - don't link to my posts but to some shady web advert - webhero.com. Have tried to deactivate and reactivate the widgets - doesn't work. Have tried to remove and republish the posts - doesn't work. Grateful for assistance.

    Henry, Brussels

Topic Closed

This topic has been closed to new replies.

About this Topic