WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Tabbed Widgets] Enabling widget disables Widget menu

[Plugin: Tabbed Widgets] Enabling widget disables Widget menu

Viewing 15 replies - 1 through 15 (of 19 total)
  • Kaspars
    Participant

    @kasparsd

    Two questions:

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

    jeffwithag
    Member

    @jeffwithag

    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

    gideonstrumpet
    Member

    @gideonstrumpet

    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.

    gideonstrumpet
    Member

    @gideonstrumpet

    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.

    Kaspars
    Participant

    @kasparsd

    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 });

    Kaspars
    Participant

    @kasparsd

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

    gideonstrumpet
    Member

    @gideonstrumpet

    Nope, no change!

    gideonstrumpet
    Member

    @gideonstrumpet

    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.

    jeffwithag
    Member

    @jeffwithag

    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

    Kaspars
    Participant

    @kasparsd

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

    jeffwithag
    Member

    @jeffwithag

    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

    jeffwithag
    Member

    @jeffwithag

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

    Kaspars
    Participant

    @kasparsd

    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?

    hedgehogsbottom
    Member

    @hedgehogsbottom

    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
    Kaspars
    Participant

    @kasparsd

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

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: Tabbed Widgets] Enabling widget disables Widget menu’ is closed to new replies.