DISQUS

Fun with WordPress: Fun with Sidebar Tabs

  • A Vine · 2 years ago
    Hey, love the idea! But I can;t put anything else in the sidebar above or below it. For example, If I wanted a random quote just above the mini-tabbed widget, and a calander below it, how would do this?
  • Andrew Rickmann · 2 years ago
    What I did when I was testing it was to put it above the rest of the sidebar, so there were two dynamic sidebars; however, you raise a good point.

    I will add a widget so that it can be added as a widget in an existing widgetised sidebar.
  • Martin · 2 years ago
    Good idea for a plugin. I also like A Vine's ideas as well.

    Will be keeping an eye on this plugin future wise.
  • Bryan · 2 years ago
    Completely awesome idea for a plugin!

    However, it's not working for me. I dropped the "Tabbed Sidebar" widget into one of my existing sidebars. And then added two RSS widgets into the Tabbed Sidebar's drop area. But when I check my site, the RSS feeds just display together one on top of the other, no tabs, no nothing. Thoughts?
  • Andrew Rickmann · 2 years ago
    Bryan,

    I suspect that it may be a CSS issue can you let me nkow some more details. If you want to e-mail them directly to me you can send them to me at mail@arickmann.co.uk.

    1. What theme are you using? (if you are using a test site does it does it have the same problem with the deault theme)

    2. What browser are you using? If you have more than one did you get the same result with other browsers.

    I know there is a problem with Opera that I need to resolve.

    Andrew
  • DewDrop · 2 years ago
    Hi,

    I've installed the plugin but am having trouble with it. First, I only put widgets in the Tabbed Sidebar box and didn't know you had to also drag the Tabbed Sidebar widget into an existing sidebar. Just something you might want to put in the readme.

    But there are still no tabs, just the usual layout. I've tried this on various themes, and in IEv6 and Firefox on the PC, as well as Safai on the Mac. None show any tabs.

    Help please? And if it works, I'll love it!

    PS, the url I gave is to my test WP site.
  • Andrew Rickmann · 2 years ago
    Brian, DewDrop,

    I have taken a look at the site and realised why it isn't working.

    The folder name I used had underscores but the folder created by WordPress Extend had dashes.

    You have two options, the first is to download the updated version (0.1.2), or you can simply rename the plugin folder from:

    fun_with_sidebar_tabs

    to

    fun-with-sidebar-tabs

    This is a school-boy error on my part. Sorry guys.
  • DewDrop · 2 years ago
    I have downloaded and installed the new version, and made sure it had the dashes instead of underscores, but still no tabs. Any ideas?

    PS: I did a "view source" and saw that the plugin links in the page header have the underscores. So I tried changing it back to underscores and it made the sidebar follow the theme's CSS, but still no tabs. Maybe there's a mixture of dash names and underscore names, such that only part of the plugin will ever work?

    PPS: I think I'm getting somewhere now! I went thru fun_with_sidebar_tabs.php and replaced all instances of _ with - and now I've got tabs. There's some styling issues but I can deal with that.
  • Andrew Rickmann · 2 years ago
    I'm glad you have it working. Unfortunately I have rather made a hash of updating the repository; folders kept disappearing for no apparent reason.

    The most up to version seems to be pointing to all the right places now though.
  • Bryan · 2 years ago
    Excellent, it's working perfectly now!

    A suggestion for future updates... the ability to use more than one!
  • Andrew Rickmann · 2 years ago
    That's great Bryan.

    I will keep that in mind for the next update.
  • DewDrop · 2 years ago
    One more little thing...

    I noticed this wasn't working right in Safari, and in testing for W3C validation I found out why:

    In fun_with_sidebar_tabs.php on line 84, there's a missing backslash in the "div" in "after_widget". All the errors went away when I added that backslash.
  • Andrew Rickmann · 2 years ago
    Thanks DewDrop, I can't believe I didn't see that.
  • Ajani Mgo · 1 year ago
    Good day,

    What I usually do when I have got a CSS problem, is that I insert the code manually, with some help from the "Executable PHP Widget", which allows you to insert PHP Code into your widgets directly.

    CSS problems mostly result in a line or two being "removed" from the top of the tabbed sidebar, making the tabs clash with other items around - with the PHP code widgets, you can always insert a linebreak or two using code, and the CSS problems will seem non-existent.

    I would really love it if I could actually have more than one sidebar tab widget in action each time - it could allow me to categorize my sidebar content by widgets, and tab the specifics.
  • Regis · 1 year ago
    Hi.
    I'm a beginner with wordpress. I have dowloaded your plugin. The installation is good. But now ? How can I manage the contents of my tabs ?

    Thanks
  • Andrew Rickmann · 1 year ago
    Ajani, If I understand you correctly you are saying that the problem you find is that the whole tabbed sidebar is too high up the page? If that is the case I do know what the problem is and I will address it in the next update.

    I have been looking into the ways of adding more than one, and I will include that also.

    Regis, The tabs are managed in the presentation section of the admin console, in the same way as a normal dynamic sidebar. The tab titles are the titles of the widgets that you drop into the sidebar. If the widget lets you change the display title then the name of the tab will change as well.
  • Ajani Mgo · 1 year ago
    Yes, indeed - it is too high.

    The simplest way I have found to solve the problem, is to just place the tag before the PHP code.
  • Sakoi Kai · 1 year ago
    Hello,

    I've just upgraded to version 0.2, and for some reason, the Tabbed Sidebar widget did not show up on the main dynamic sidebar... This could be due to the fact that I'm using WP 2.3.2. Either way, can you please look into this problem?
  • Andrew Rickmann · 1 year ago
    Due to multiple sidebar support the names of the sidebars are different (they all have a number now) so it seems likely that you will need to set it up again from scratch in the widgets page.

    Did you get 'Tabbed Sidebar 1' in the list of widgets?
  • Sakoi Kai · 1 year ago
    I did not get 'Tabbed Sidebar 1' in the list of widgets.

    I tried to completely delete the plugin and re-install it, but nothing changed from before.
  • Shane · 1 year ago
    I am experiencing the same problem as Sakoi Kai - no widgets are appearing. Using wordpress version 2.3.2.
  • Andrew Rickmann · 1 year ago
    I have uploaded a new version that hopefully will address these problems. I still have not been able to replicate the problem on 2.3.2 so I am not sure what the cause is.

    If this does not resolve it then I expect it is a conflict between another plugin. Shane, Sakoi, if you try the update and don't find it fixed can you let me know, using the contact form, which plugins you are using and I will test against these.
  • Sakoi Kai · 1 year ago
    Thank you Andrew! It's working now. =)
  • Louis · 1 year ago
    Hi Andrew, your plugin works great!
    I want to put it on my header also, so i added "<? php the_tabbed_sidebar(); ? ?>" in the header.php. (i put a space between the "?" and "php" coz the code didn't show up in your comment box if i didn't)
    But it only shows an empty box with a border.
    The one on the rightmost sidebar works well, but I can't have the same thing on the header (above the"Most Popular Articles"). I added the one on the rightmost sidebar using the widgets tab on wordpress admin panel.
    Any suggestions? Thank you
  • Andrew Rickmann · 1 year ago
    Louis,

    You will only be able to display each sidebar once. If you have chosen to show two tabbed sidebars (in the widgets admin page) then you will need to amend one of the functions in your theme to:

    the_tabbed_sidebar(2);

    This will show the second one.
  • Louis · 1 year ago
    Hi Andrew, i erased all the tabbed sidebar and only leaving the one on the header using < ? php the_tabbed_sidebar(1); ? >. Nothing shows up.
    I also tried < ? php the_tabbed_sidebar(0); ? > and nothing happened too. Just an empty box.
    I've checked the widgets admin page and the tabbed sidebar is filled with akismet, site statistics and random posts, so its not empty.
    Do you have any other suggestions?
    Thank you
  • Andrew Rickmann · 1 year ago
    I would suggest trying it without any value in it, and try it with 2. If those don't work then I would suggest setting the number of sidebars to 3 in the widget screen, making sure that they are all empty, then deactivating and reactivating the plugin.

    Failing that I'm afraid I'm at a bit of a loss to explain the problem.
  • Bernd · 1 year ago
    Hi!

    Plugin seems not to work for me too with wordpress 2.3.2

    The widget shows only the buttons for the included widgets but not the content. Within source-code of the output i can see the content :(

    Could there be a problem with the included css?
  • Andrew Rickmann · 1 year ago
    Bernd,

    There are definitely CSS issues. There are a lot of CSS files loaded after it and they are overriding some of it.

    It also looks like lightbox is triggering a javascript error and stopping the rest of the sidebar javascript from running.

    The CSS issue may be resolved by editing the fun-with-sidebars plugin, and changing the line that reads:

    add_action("wp_head", array(&$this,"add_css") );

    to

    add_action("wp_head", array(&$this,"add_css") , 10);

    The Javascript one is the key though. I don't know anything about lightbox so I don't know why the error is occuring.
  • Bernd · 1 year ago
    Thank you for your help! I disabled lightbox and now your plugin works :)

    But the box still looks "ugly" :(
  • Bernd · 1 year ago
    I used another theme now and it works with the default css from your plugin :)

    Seems that "Clean And Mean 3.0" is not compatible with the plugin :(
  • Louis · 1 year ago
    Hi Andrew,

    unfortunately they didn't work..
    but I found the plugin useful, anyway. I'll still use it on the sidebar.
    One more if I may ask. Is there any other way I can add components to the tabbed sidebar except from the "widgets" admin panel? straight from the source code perhaps? coz the thing i want to display doesn't exist in the "widgets" admin panel, so i can't drag them into the tabbed sidebar.
    thanks for your great response and support!
  • Andrew Rickmann · 1 year ago
    Louis,

    The only thing I can think of is to find a widget that will let you use PHP in it, and add that to the sidebar.

    I did a quick google search and found this one:
    http://www.blog.mediaprojekte.de/cms-systeme/wo...
    There may be others.
  • Louis · 1 year ago
    Thanks, Andrew! I'll try that one
  • Leanne · 1 year ago
    Hi Andrew,

    This is a really great plugin - thank you for taking the time to develop it.

    I have just a couple of suggestions for improvements, that I think would really launch your plugin.

    1. The box is completely collapsed until the page loads, then it fills with content. I'm not sure the difference between your script and others (like on Problogger, whose tabbed box loads with content simultaneously), but that was a huge factor in whether or not I deployed the plugin on my blog.

    2. The CSS factor - if you could add an options page that allows the user to manage the CSS (select colors, borders, etc.) that would REALLY be nice.

    3. Compatibility - I didn't have a problem with it on my designblog, however when I added the plugin to my blog, used a PHP exec plugin for sidebar plugins, it worked great in FF but completely broke in IE. I've got a feeling it may be related to the lightbox js, since that's been mentioned and I also have that active.

    I know of a lot of design clients and bloggers who would love to have this plugin since it is so easy to manage within widgets - just thought you'd like some ideas on how to make it much more desirable.

    Thanks for your time!!
  • Andrew Rickmann · 1 year ago
    Thanks Leanne,

    I will look at those when I do my next update.
  • Martin · 1 year ago
    Hi Andrew,

    Ive been looking for something like this, but this may be a silly question.

    Do you have to have a widgeted theme for this to work?

    I did install it etc, but getting nothing showing up, or do I need to change all of the _ in sidebar.php to the -

    Thanks

    Martin
  • Andrew Rickmann · 1 year ago
    Martin,

    You don't need a widgetised theme but you do need a version of WordPress that supports widgets.

    If the theme isn't widgetised you can use the theme tag noted in the page under usage.
  • Bierfles · 1 year ago
    Hi! Thanx for the plugin i like it

    Is it really necessary to include the prototype.js? It's about 122 Kb. Which is even more than my whole website.

    I think that the CSS factor mentioned by Leanne is a good point. Changing the css/code now for, let's say some Sliding Doors effect is such a pain.
  • Andrew Rickmann · 1 year ago
    Bierfles,

    Prototype is included with the plugin as I wanted to use version 1.6 and, until WordPress 2.5 is released, WordPress only ships with 1.5; however I have used it in a way that upgrades WordPress so any other plugins calling Prototype will not need to load the older version.

    I have a few updates planned that will make Prototype even more important, and I will also be making it easier to change the CSS.
  • Emmett Jones · 1 year ago
    Hi Andrew, this is a great plug-in, at least it seems like it...I cannot get it to work properly. I'm using Wordpress 2.2.2 and I've installed it, but everytime I go to the widgets screen to drag and drop, everything is frozen and I can't pick up any of the widgets. I do see the "tabbed sidebar 1" widget, but I can't do anything with any of my widgets. The problem goes away if I deactivate the plugin. any ideas?

    Thanks in advance.
  • Andrew Rickmann · 1 year ago
    Emmett,

    Apologies for the lateness of this response.

    I haven't tested it on anything lower than 2.3; however, the most likely cause of a complete freeze is that the javascript is conflicting with another plugin.

    If you are using firefox then I recommend checking the Error Console (under the tools menu) to see if there is a specific javascript error happening on that page. Make sure to clear the console and reload the page.

    If an error appears in one of the other plugins with my plugin enabled, but doesn't appear without my plugin enabled let me know and I will try and find out what is causing it.
  • TopBlogger · 1 year ago
    Thank you so much, I've seen it on many sites and have been wondering how they do it. Your great piece of work now leaves me with another problem: "what do I fill my sidebar with now that it looks so organized" :)
  • Emmett Jones · 1 year ago
    Andrew,

    I am getting a "too much recursion" error when I go to widgets page. The error console is highlighting this portion of the code
    " return __method.apply(null, [this].concat($A(arguments)));"

    which comes from this larger section
    methodize: function() {
    if (this._methodized) return this._methodized;
    var __method = this;
    return this._methodized = function() {
    return __method.apply(null, [this].concat($A(arguments)));

    No clue what any of that means, as my one programming class in college did not go over that well anyway, but I figured I'd pass the information along.

    Thanks again
  • Andrew Rickmann · 1 year ago
    Thanks Emmett. I notice you have found an alternative that is working well for you. That is good as I honestly have no idea why that error was happening for you.
  • Emmett Jones · 1 year ago
    Thanks for your help anyway, Andrew.

    I wish you much success in the future.
  • Bierfles · 1 year ago
    I think i have found a bug in your plugin.

    I use Custom Fields on my blog and normally when i add a custom field it's been added on a fancy ajax way. (a fading yellow box appears within the custom field box)

    But with your plugin enabled, when i add a custom field, my post is being saved. Also, normally when i publish the post, i get a new "create new post page" but with your plugin enabled, i the old post reappears.

    When i look at the Error Console i get this error when your plugin is enabled:

    Error: this.setOptions is not a function
    Source File: /wp-includes/js/wp-ajax.js?ver=20070306
    Line: 18

    setOptions is a function within the WP prototype.js. but it is missing in your version of prototype.

    Is there a way to fix this?
  • Andrew Rickmann · 1 year ago
    Bierfles, you are absolutely right.

    I have just uploaded a minor amendment that will prevent this error.

    Thanks for tracking it down.
  • MindBlogger · 1 year ago
    Hey Andrew!

    What an awesome plugin! Thank you.

    Btw, I have a problem. In my sidebar, all the tabs seem to be broken down. They are not tabbed, and get displayed one below the other.

    What could be the problem?
  • Andrew Rickmann · 1 year ago
    Thanks MindBlogger,

    If it is just the actual tabs that are doing that it is almost certainly because you have some specific CSS rules that are overriding the tabs.

    The CSS specifity rules will be making those rules more important than the rules in the tabbed sidebar css.
  • Jeffro2pt0 · 1 year ago
    Hey Andrew. I installed this plugin locally the other day but I couldn't manage to figure out how to use it. I understand the installation instructions and I get as far as having a tabbed sidebar widget that I can place into a widget sidebar, but how do I add widgets to the tabbed sidebar widget. Hopefully, that makes sense.
  • Andrew Rickmann · 1 year ago
    Jeffro, I think you have entered a time paradox of some kind :-)

    I will try to explain. I am assuming the theme you are using already has a Sidebar. I will refer to this as The Standard Sidebar.

    When you install the plugin you should find that you have a sidebar called Tabbed Sidebar 1 in addition to The Standard Sidebar you had before.

    You will also find you have a widget, also called Tabbed Sidebar 1.

    You drag the Tabbed Sidebar 1 Widget into The Standard Sidebar.

    This creates the tabbed section.

    You then drag other widgets, for example a text widget, into the Tabbed Sidebar 1 Sidebar.

    If you can't do that, then something may not be operating properly.
  • erin · 1 year ago
    i think i must be having the same problem as mindblogger. any suggestions on the best way to fix the CSS overriding issue? or, if you could take a look at the beta i'm working on you might be able to tell me if that's not the problem at all. maybe it's something else entirely! whatever it is, the tabs just aren't... tabbing.

    the tabbed sidebar also seems to be mangling the sidebars below it a bit. maybe i'm not meant to have a tabbed sidebar on my site!

    thanks!
    erin
  • erin · 1 year ago
    i think i got it working and i have no idea how. i think it was removing the search widget from the tabbed sidebar widget. is that possible?
  • Andrew Rickmann · 1 year ago
    Erin,

    It could be possible. The main reasons are usually either a plugin is loading javascript that conflicts, or that the html tags are not closed properly. If your html isn't valid then that is usually the best place to start.
  • Juan · 1 year ago
    Hello, many thanks for the plug....

    This plugin wiht gtranslate crash when i change the language... :(
  • ck · 1 year ago
    I got it to work like a charm on Firefox but then I noticed that it doesn't work on Explorer! Also, will this work on WP 2.5? I love your plugin but now what?

    ;)
  • ck · 1 year ago
    For whatever it's worth, in Firefox it works great using WP 2.5, but the same problems persist in IE7. Please help as this plugin rocks but I'll have to go back to my very busy sidebar if I can't get it to work in Explorer.
  • Andrew Rickmann · 1 year ago
    CK, I think the problem you are experiencing is a conflict with another plugin.

    I can't be sure exactly which plugin is causing the problem; however, I think the most likely candidate is Live Search Popup becuase this is loading an older version of prototype than my plugin requires.

    I intend to rewrite this plugin using JQuery, so that might well solve the problem, but in the short team I would recommend turning off Live Search Popup to see if that resolves the problem. Then you can decide which is more important to you.
  • ck · 1 year ago
    Andrew! Thanks for the rapid response. You were right. It was Live Search that interfered with your plugin in Explorer (but not Firefox where both lived in peace together, side by side). So I sadly had to let live search go because your plugin is more valuable to me. I will eagerly await the JQuery version.
  • Q Ball · 1 year ago
    I love this plugin. It works great in IE7 and Firefox. I wonder how Opera and Safari users are doing with their browser views?
  • ck · 1 year ago
    Uh Oh. Updated to the fun-with-sidebar-tabs plug v. 0.4 from 0.3.2 using the automatic upgrade feature of WP 2.5 and the tabs disappeared leaving me instead with a long list of all the tabbed contents instead. Luckily I had an older version of the plugin on my Hard Drive so I uploaded that back and it works again. I'd like to use the JQuery version 0.4 - are there special instructions for upgrading that I may have missed?
  • Andrew Rickmann · 1 year ago
    CK, I can't really diagnose the problem without the new version being installed; however, it will be a conflict with another plugin as it works successfully on every blog I have loaded it in to.

    Jquery works differently to Prototype in the way it judges when a page is loaded. I don't really know the details in full, but I do notice that the flickr picture loader never seems to stop loading. Perhaps that could be stopping the load event triggering.
  • Andrew Rickmann · 1 year ago
    Qball,

    Thanks for the reminder. It seems there is a problem with Safari which I will need to get into. Everything else tests fine.
  • ck · 1 year ago
    ok i replaced the fickr tag, and turned off share this plug in, and turned it back on. Still no purty tabs...
  • ck · 1 year ago
    * sigh * Now for no apparent reason other than I turned off and turned back on again the sharethis plugin, the tabs now appear but only the first tab works.
  • Andrew Rickmann · 1 year ago
    CK,

    I have been trying to find the problem on your site and I notice that wp-commentpreview is producing errors as it cannot find the files, i.e. WordPress is returning an html page where it expects to find javascript. This might not be the problem but I doubt it is helping.
  • ck · 1 year ago
    wp-commentpreview is whacked. It doesn't work. BUT if I turn it off, under my comments I see "Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment." AND comment subscriptions become invisible. If I turn wp-commentpreview on, then the comment moderation message disappears and comment subscriptions become visible again. In both cases, the tabs don't work as they ought to.

    *sigh*

    Maybe it's time to move on to another theme...

    The good news is that with the new version of your plugin, all conflicts with Live Search Popup have disappeared. And that fade effect is very cool.
  • Andrew Rickmann · 1 year ago
    CK,

    I have solved the tabs problem. I think.

    I am working on a fix at the moment and will explain more once I have resolved it.
  • Andrew Rickmann · 1 year ago
    CK,

    The problem was that another plugin was inserting HTML around the widgets that the tabbed sidebar doesn't request. That was throwing off the Javascript in that it was looking for immediate descendants.

    I have uploaded an amended version of the plugin that works differently to take this into account.

    Let me know how it works out.
  • ck · 1 year ago
    You programmers are like magic!
    Worked like a charm, sweet, fadey, tabbed goodness. I'm still stuck with that wp-comments preview thing, but whatever, it's all good. I can procrastinate on a theme redesign some more.

    Though just for the record? The upgraded status of the plugin did not appear on my WP 2.5 page. Just so ya know.

    Once again, thanks!
  • erin · 1 year ago
    now i really do have a problem! i finished setting up my blog, and everything looked great. then i changed the blog address through settings to redirect the blog to my root directory and the tabs stopped working. it looks pretty bad.

    so then i tried setting the blog address back to mysite.com/wordpress and checked mysite.com/ and the tabbed box looked fine. should i just leave it like this even though the settings aren't quite right? any idea why renaming the directory, or redirecting it to the root would cause this problem?
  • Andrew Rickmann · 1 year ago
    Erin, the plugin should use the WordPress address to try and find the files. If you changed that but didn't move all the files to the new directory then it would stop working.

    If you changed the WordPress address does that mean you have two copies of the WordPress files on your server?

    p.s. I really like how you have used the tabs.
  • erin · 1 year ago
    hey andy,

    thank you! and i was trying to do what's outlined on this page: http://codex.wordpress.org/Giving_WordPress_Its...
  • Andrew Rickmann · 1 year ago
    Erin, It seems to me as though the way it is at the moment is how it is supposed to be; i.e. the WordPress address should be http://example.com/wordpress, and the blog address http://example.com.

    If that isn't how it is then I am confused, but it works, so probably best leave it as it is. :-)
  • GG · 1 year ago
    I installed fun-with-sidebar-tabs, but had no fun :(. This plugin were conflict with sth. And now, "recent post" and "recent comments" are disappeared. In widgets, button "add" of "recent comments" are hide.

    When I installed fun-with-sidebar, I configed recent comments into "tabbed sidebar" but wasn't visible.
  • Andrew Rickmann · 1 year ago
    GG,

    I don't understand exactly what you mean. Do you have a website address that I can see?
  • Webguard · 1 year ago
    Hi, i did some error. I added a tabbed sidebar into another tabbed sidebar, so it did a loop --> fatal error on my Blogpage.

    Okay, i deactivated the plugin and now i cant find all data in the SQL-Table to delete (which where from the Plugin). Can you tell me in which tables this plugin writes? Thanks
  • Andrew Rickmann · 1 year ago
    Webguard, The information you want isn't modified by the plugin but is part of the WordPress core.

    WordPress records which plugins are used and in which sidebars, in a field called sidebars_widgets in the options table.
  • Chris Leckness · 1 year ago
    Hello. Great plugin. I appreciate the simplicity in setting it up.

    The problem I am having is the same as some others. I am using ver 4.1 and wp 2.3+.

    In IE 7 (and poss 6, but I dont have 6 anymore) it populates the info from widgets (I can see them until they load), but then blank. In Firefox it looks awesome.

    Looking into the javascript error that IE is giving, it leads me to line 73 and in that line is this...


    <!--[if IE 6]>-->



    I am one for trying to figure things out and tried deactivating almost all the plugs with no luck.

    Any suggestions?
  • Andrew Rickmann · 1 year ago
    Chris, It looks like the problem is that Jquery 1.1.4 doesn't support the queueing methods I've used, but that Firefox is skating over the problem whereas IE7 is just giving up.

    I am going to work on a longer term fix; however, in the meantime I think you should be able to resolve it by editing the script.js which is in the js directory of the plugin.

    This change takes out the part that IE was stopping at so should work on 1.1.4. It still works on WP2.5 but I don't have an earlier version to test it on right now.

    Find the function called function fwst_display_tab, this should be around line 63 and it replace it to read:

    function fwst_display_tab( eventObject ){

    $(this).parents('ul').children('li').children('h3').removeClass('selected');
    $(this).addClass('selected');
    $(this).parents('div.fw_tabs_tabdisplay').children('div').fadeOut('fast').empty().append($(this).parents('div.fw_tabs_tabdisplay').find('ul li h3.selected').siblings('div.tab-content').clone(true));

    $(this).parents('div.fw_tabs_tabdisplay').children('div').fadeIn('fast');

    }
  • Chris Leckness · 1 year ago
    I tried that, no luck. It left all 4 widgets open stacked on top of each other.
  • Stephane · 1 year ago
    I'm trying to us this plugin, but nothing shows up in the box.

    I've installed the plugin here: www.androinica.com

    Any ideas on what I did wrong?

    Thanks!
  • Andrew Rickmann · 1 year ago
    Stephanie, There are a few reasons why it may not be working, chances are it is all of these that are problematic in some way,

    First the plugin called yulmedia. I don't know what this is but it is loading its own version of Jquery outside of the WordPress script process and so that could be conflicting with the version that comes with WordPress.

    Secondly you should make sure you have the most up to date version of my plugin. I updated it this evening specifically for the versions 2.3.x of WordPress.

    Finally I notice there are quite a large number of errors and some invalid tags shown when I try to validate your html. It is always a good idea to ensure the site code is valid before trying to diagnose any CSS problems as they may be code problems in disguise.
  • Andrew Rickmann · 1 year ago
    Note: For reference, following Chris's query I have updated the plugin. No-one should amend the plugin as I have suggested in comment 81. Andy
  • Webguard · 1 year ago
    Thank you for your response.

    But i already deleted these fields.
    So if i reactivate this plugin it will show me again this damn loop on my page... Is there another field which is used by this plugin?

    PS: The subscribing is not working for me...

    Greetings
  • Andrew Rickmann · 1 year ago
    Sorry Webguard. When it comes down to it my plugin is just another widget. It uses the default widget process in WordPress.

    That field is where the information is stored.
  • mark · 1 year ago
    Hi Andy,

    I absolutely love this concept -- and the fact that you've widgetized it is fantastic!

    But, on my site nothing appears in the tabs. It might have something to do with the tabs on the main page, but they don't use Jquery. I also have the latest version (just downloaded it today).

    Any suggestions? Sidebar too narrow? Overriding CSS?
  • Andrew Rickmann · 1 year ago
    Mark,

    Your theme is loading another version of Jquery after the plugin files. I have seen this once before and the same error was occurring. I cannot say for sure if this was the cause, but it seems the most likely culprit.
  • mark · 1 year ago
    Andy,

    Thanks for the tip -- I had a suspicion.

    Is there any way to get them to work in harmony? How do I find out what version of Jquery the rest of my part is calling?
  • Andrew Rickmann · 1 year ago
    Mark,

    The best thing would be the check first if that is the problem. There is a line in the header that loads jquery version 1.2.2, and then a script block after that. If you can remove these temporarily to see if that resolves the problem then that would confirm the issue.

    One solution might be to disable the parts of the plugin that use WordPress's script loading system and manually insert the link to the script after the new version of Jquery is loaded. Unfortunately I wiped my hard drive this morning by mistake so I don't have a copy of my plugin on hand to tell you what to do but I will look at it this evening and give you some options.
  • Andrew Rickmann · 1 year ago
    Mark,

    If you want to try changing the loading order you need to edit the fun_with_sidebar_-tabs.php file to comment out the line:

    add_action("init", array(&$this,"add_scripts") , 1);

    You then need to add the following as the last thing before the end of the head in the theme header.php file

    <script type="text/javascript" src="<?php bloginfo('url') ?>/wp-content/plugins/fun-with-sidebar-tabs/js/script-114.js"></script>
  • mark · 1 year ago
    Andy,

    Thanks so much for helping me with this.

    Your solution worked, but now I'm having the problem I see others have come across -- where the tabs don't appear in a tabbed box, but rather as widgets stacked on top of one another.

    This seems very strange to me, since it rendered the tabbed box (albeit empty...) just fine before the code edit.

    Any ideas?
  • K · 1 year ago
    Thanks for this widget, it looks cool and makes the sidebar shorter thus make room for extra sidebars depending on what theme you are using.

    However, I am using Safari browser and it crashes several times on my end, what's the solution?

    So far, I loved it.
  • Andrew Rickmann · 1 year ago
    Re: Mark. I discussed this with Matt and resolved the problem. It was a problem with the url pointing to the script, the plugin worked fine once that was resolved.

    K, to be honest I don't know. I have Safari for Windows and it has some problems, but it doesn't crash at all. It seems unlikely that it is directly related to the plugin.
  • Jascha · 1 year ago
    Thanks for the plugin! I just wanted to point out that the widget wasn't validating (in the default theme), so I wrapped the whole thing in a <li> and it validates and doesn't break anything.
  • Andrew Rickmann · 1 year ago
    Thanks Jascha.

    I guess that is down the default theme insisting that everything in the sidebar should be insude a list.
  • Nelson · 1 year ago
    What if I want to use the plugin in a page rather than in the sidebar?
  • Andrew Rickmann · 1 year ago
    Nelson, you can use the template tag. It is explained on the page above. The only drawback is that the styling options depend on the sidebar system so if you want to style it you will need to add it to the sidebar. save. alter your styles. save. then remove it from the sidebar.
  • Premier League · 1 year ago
    Hi,

    it is an amazing thing
    but it doesnt work on my site

    err !! if i use default theme ... sidebar tabs are working but not with the theme I am using.

    i am not able to find any error.

    with this theme i am using .. it shows each of the Tabs one after another like regular side bar ..

    I have added Spam Blocked and Latest Headlines for tab. hv kept it ther for you to check.

    help mee .. thank you

    Regards

    IPL News
  • Andrew Rickmann · 1 year ago
    IPL, the reason it isn't working is that you have an opening style tag without a closing one. A lot of your links, meta tags and javascript content is inside this styleblock so it isn't ever loading it.

    Also, either the theme you are using or another plugin is loading an older version of Jquery than the one that coems. it is possible that this might interfere, once you have fixed the style issue.
  • angel · 1 year ago
    I think you should use instead of because sometimes it doesn't show the right url
  • Andy Stockton · 1 year ago
    I installed FWS in my DarkWater theme and got this fatal error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40961 bytes) in /home/beinghop/public_html/thedaguerreotypist/tdg1/wordpress/wp-admin/includes/widgets.php on line 211. I don't really have time (or honestly the skill) to debug it right now, but I can't figure out how to uninstall it. If you have a moment hints/pointers would be most appreciated. Thanks.
  • Andy Stockton · 1 year ago
    Whoops, never mind, I solved it. I like the idea of your plug-in, but will tackle it when I have more time. Thanks.
  • Premier League · 1 year ago
    Hey Andrew,

    thank you, will try to tweak and play with wp
    hope it works
    for now i am disabling it, will try it over weekend :)

    Cheers

    IPL News :)
  • Andrew Rickmann · 1 year ago
    Angel,

    I will make that change the next time I update the plugin.
    Thanks.
  • hellows · 1 year ago
    Thta is a realy good plugin + the video tutorial makes it so easy to use. well done :>
  • Hellows · 1 year ago
    I have a problem with the some of the tabs.
    What I want to do is to display in one of the tabs Weather stats. I got a code from freemeteo.co.uk web page that I insert into a text widget. (The widget with the code is working properly in the sidebar and theme also other it works with other scripts and codes). Then I add the widget to the Tabbed Sidebar 1. And I add the the_tabbed_sidebar(1) code to my home.php theme to show the tabbed sidebar with the weather stats in it. All other tabs are working (the ones who got a simple text in them) but when I change/click on the weather tab, it loads the code/widget but short after it tries to go to another page (the page is still under my address) and it is blank/white.
    I have tried this with other codes. Like a gallery, radio or currency codes that I got from other web pages. They work normally in the theme and sidebar but when I add the widget with the code into the Tabbed Sidebar1 after loading the page it loads the tab &page and after 2sec all I can see is a white screen.
  • Andrew Rickmann · 1 year ago
    Hellows,

    Can you me the URL for your site so I can see what is happening on it?
  • Hellows · 1 year ago
    My site is www.polishstudent.co.uk
    I will add now a widget with a code in it so you can see what happens. thanks. The Fun with side bar tabs plug-in is on the main page and is placed just under the featured big flash picture. thanks. I will use a widget with the weather code in it and place it under tab named WEATHER. You will see the following tabs. Music | Film | Gallery | >>>WETHER<<<! Wait few seconds for the website to load fully and then click on that tab.
    Thanks
  • Andrew Rickmann · 1 year ago
    Hellows,

    The problem seems to be that there is a script that carries out a document.write, overwriting the content of the page. When the tab is selected the contents of the script are copied and run again clearing the screen.

    You might try removing the link to :
    http://www.freemeteo.com/templates/default/HTfe...

    If it doesn't work without the script link to that then you may need to find an alternative weather script.
  • Hellows · 1 year ago
    thanks. I have removed the link but then the script is not working I have also tried with some iGoogle gadgets and it is the same. Anything I can do to stop such execution. Maybe in the plugin code there is something i could try ?
  • Andrew Rickmann · 1 year ago
    Hellows,

    The way this script works is fundamentally incompatible with the way the plugin works so it would require a significant rewrite of the plugin to let it work.

    The script writes an Iframe to the document, so you could insert that code manually instead of the javascript and that should work, but I don't know whether it will remove any functionality from it.

    >iframe src='http://www.freemeteo.com/ModulesCode/feed2.asp?cn=571722_20080515_190712' marginWidth=0 marginHeight=0 frameBorder=0 scrolling=no allowTransparency width='468' height='60'<>/iframe>
  • Hellows · 1 year ago
    I have tried your solution but did not help. I have found some other widgets/scripts that work with your plugin. I am using sprout gadgets. But thanks for the quick reply.

    I have one more question if you do not mind. I would like to customise the graphics to make the tabs look like on this web page! www.interia.pl/ and if possible didpley the tabs vertically.
  • Lori · 1 year ago
    I just implemented the sidebar tabs widget but the wording is off to the right instead of underneath....can you look it and see if there's something I can do about that???

    thecowboyshack.com
  • Chris · 1 year ago
    Hi, Andrew,
    I don't want the style with gradual change(tab switch),how should I do?
  • Big Rio · 1 year ago
    In the new prolouge theme - twitter like - from wordpress the tabs stack one on top of the other. Any fix?

    Thanks.. great plugin..
  • Andrew Rickmann · 1 year ago
    Hellows,
    It should be possible to arrange the tabs vertically, you will need to play around with the CSS settings for the sidebar.It might not be possible to restyle the tabs. I will look into adding some style options in the next version.

    Lori,
    In your main stylesheet there is a margin applied to lists in the sidebar that is overriding the sidebar tabs style.

    If you find the entry shown below and remove the margin then the sidebar tabs will work:

    #sidebar ul {
    list-style-type:none;
    margin:20px;
    padding:0pt;
    }

    Chris,
    In the plugin folder there is another folder marked JS. In this you will find two scripts. One is called script.js and the other is script-114.js

    Script-114.js is intended for older versions of Jquery that didn't support some of the things that make the fade work.

    If you copy the function called fwst_display_tab which starts on line 64 of script-114 and ends on line 73, and use that to replace the function of the same name in script.js which starts at line 64 and ends on line 78, then that should have the effect that you want.

    Big Rio,
    I have never used the theme so it is hard to say but it will almost certainly be that a rule in the theme is too specific and is overiding the plugin CSS, or that there is a javascript error somewhere else that is preventing the code from running. Either way it will be something related to the theme, rather than the plugin.
  • Hellows · 1 year ago
    Why, Why me :<. The plug-in is working grate in Firefox, all tabs and codes are loading etc. However, in IE7 you can see that the content was loaded but you cannot see it in the tabs (not even a simple text is showing up). You can click on the tabs but nothing is inside. How do I get this to work for IE7.
  • Andrew Rickmann · 1 year ago
    Hellows,

    The problem with IE is that it tends to stop running javascript when it finds an error. Firefox works round it where possible.

    Your gallery plugin is throwing an error just before my plugin assigns event handlers to the tabs which stops the tabs showing their contents.

    You will need to resolve the error from the gallery.
  • John R · 1 year ago
    I love the idea, but I found two problems with it:
    1. The content of each tab started at the right side of the last tab, not in the content.

    2. I couldn't reduce the space above the tabs, it was stuck at 32... way too much to fit with my template design.

    If there was a fix for this that'd be great!
  • zeabtle · 1 year ago
    Thank for wonder plugin, I very likt it.
  • Andrew Rickmann · 1 year ago
    John R, The problem you are having is that your theme CSS is specific enough to override the plugin CSS.

    I am hoping to make some changes this weekend, if I get the chance that will prevent this.

    The second issue is something that you can change by editing the sidebar preferences. See the video for instructions.
  • mirek · 1 year ago
    Hi,
    thank you for this wonderful plugin! I have a CSS problem - see http://ukacko.cz/ne/tabs.jpg. If I set fixed width for class "fwTabTitle", the last tab goes out. I don't need +/- tabs, I need only 3 tabs in whole width of the box. It would looks like on page www.denik.cz.
    And when I change the style.css, there is no change in tabs on my page in fact. Thanks!
  • Andrew Rickmann · 1 year ago
    Mirek,

    For the purposes of the response I assume you are using WordPress 2.5.x and version 4.2 of the plugin.

    The reason changing the stylesheet doesn't change the tabs is because the content in that stylesheet is overidden by values that are specific for each set of tabs. The stylesheet marked overides.css is the template used to generate the CSS.

    Everything within the overide stylesheet is changeable from within the WordPress admin pages as per the read me file.

    The javascript calculates the width of the box and adds the plus or minus if the width of the tabs is greater than the width of the box they are in; however, there is an element of rounding in it. The intention was that it should be flexible, i.e. that items can be added or removed and so it wasn't tested with a situation as specific as you are trying.

    If you know for sure you don't need to levels calculations you can remove lines 32 - 55 of script.js and that should stop it.
  • stef · 1 year ago
    hi, I really like the plugin.
    However, I have problem with the content position.
    In my site: www.katolisitas.org/Church , on the lower right, the recent comment is actually start at the very top from the position of the tab itself. Any possibility to make the content below the tab?

    regards,
    stef
  • Andrew Rickmann · 1 year ago
    Stef,

    That problem is a consequence of the way the CSS in some themes is applied. I am hoping to release a revised version of the plugin later which I hope will resolve that issue.
  • David · 1 year ago
    Hey Andrew,

    Someone from the Authority Blogger forum recommended this plugin after I posted a thread on how to create the tabbed thing. After some trial and error with it, I finally (and I mean finally!) got the desired effect. :)

    Just one support question: how do I change the font size of the content under the tab? I seem to be able to change the font size of the name of the tab (e.g. Recent Posts, Recent Comments, etc.), but I can't "enlarge" the list of content under each one or so.

    On the whole, thank you so much for creating this plugin! I've tried DOMTabs and idTabs and just couldn't get either one to work (due to my being CSS-challenged, I guess), but this one finally did the trick!
  • Andrew Rickmann · 1 year ago
    David,

    I'm glad you like the plugin. I am trying to make it easier to work with but some aspects are quite complicated.

    The CSS in the plugin shouldn't affect the content of the tabs so the text size should be the same as the text in the sidebar as a whole.

    If you wanted to change it you would need to change the general css for the site's text, or the sidebar's text. It really depends on the way the theme is styled.

    Later on today I will be releasing a new version (version 0.5) which will apply the CSS a little differently.

    Under the new version, if you want to add CSS to your main stylesheet to control the text in an unordered list, inside the tabs of the first tabbed sidebar that you have then you could use the follow two selectors.

    div#fw_tabs_tabdisplay_1 div.tab-content ul { }
    div#fw_tabs_tabdisplay_1 div.tab-content ul li { }
  • Timmy · 1 year ago
    I have just upgraded to version 0.5. It was working before but not displaying the tabs after I have done the upgrade. If you go to my site, Youtube and Radio are now split. Looks more like a single widget rather than tabs. Please help.
  • Timmy · 1 year ago
    I have downgraded back to version 0.4.2. Not sure if there were bugs in version 0.5. Do I need to alter the tabs configuration as per release note?

    0.5

    Note: There have been some changes to the CSS so you may need to make amendments to each sidebar's settings.

    If so, what do i need to alter. I would prefer it to work right from the box.
  • Andrew Rickmann · 1 year ago
    Timmy, the comment relating to CSS is vague because the CSS problems people have been having are related to the theme rather than the plugin, so if they have done something to compensate it may no longer apply.

    'Out of the box' on the default theme it works as intended; however, I don't have a mac so I haven't tested the mac versions of any browsers.

    Unfortunately as you have now downgraded there isn't much I can do. If you try it again let me know.
  • Timmy · 1 year ago
    I have upgraded it again. If you go to my website, tabs no longer work. Please advise?
  • Andrew Rickmann · 1 year ago
    Timmy,

    It is working without problems for me on FF3.

    Can you tell me if you are getting any javascript errors?
  • Timmy · 1 year ago
    Are you sure? I'm using Firefox 3 too. Did you clear the cache? No javas errors. Youtube & radio are now split into two. Wordpress is hosted on a linux box not a mac os x
  • critter42 · 1 year ago
    OK, I'm getting the "Stacked" rather than tab issue. Unfortunately, even though my theme is supposed to be widgetized, all the sidebar contents have to manually added rather than use WP's widget manager. This meant I had to use the template tag to get the tabs to show up. I did add the Tabbed Sidebar to the manager, saved it, styled it, saved it, then removed it.
    Still not showing tabs. I've poked and prodded, but my CSS are basically on the level of knowing what CSS stands for :), so I cannot see where the tabs are breaking. Any assistance on this is greatly appreciated (it is the site linked in my comment header)
  • Andrew Rickmann · 1 year ago
    critter42, The problem you are having is related to a bug in the most recent release. I have released version 0.5.1 which should resolve it.
  • Thaya Kareeson · 1 year ago
    Hi Andrew,
    I have more than one tabbed widget running on my sidebar. After upgrading from 0.4.2 to 0.5.1, the default CSS for all but the first tabbed widget gets screwy. Has anybody else seen this issue? Thank you!
  • Ellie · 1 year ago
    Hi, I'd LOVE to use this plugin but unfortunately I do not use widgets. Is there any other way of implementing it?
  • critter42 · 1 year ago
    OK, I just upgraded, now I get the following error and the rest of the page stops loading:

    Fatal error: Using $this when not in object context in /home/XXXXXXXX/public_html/tvrealityfans/blog/wp-content/plugins/fun-with-sidebar-tabs/trunk/fun_with_sidebar_tabs.php on line 465

    (I've obscured one of the folders for security purposes)
  • critter42 · 1 year ago
    even weirder...it's not showing up in my list of plug-ins...one thing I did notice in the zip file is that the main files were in a "trunk" sub folder...

    Edit: I think you zipped up the wrong folder. I copied everything from the trunk to the fun_with_sidebar_tabs folder and it showed back up
  • critter42 · 1 year ago
    However, I'm still getting the fatal error :( (sorry for the explosion of posts)
  • Andrew Rickmann · 1 year ago
    Critter, I have uploaded a new version 0.5.2 hopefully this should do the trick. The trunk issue was a mistake with the upload.

    I shouldn't be making changes when I this tired.
  • Andrew Rickmann · 1 year ago
    Ellie, In theory there is another way but it is not supported and will be removed eventually so I would recommend using widgets, or perhaps trying out one of the other tab solutions such as DOM Tabs.
  • Andrew Rickmann · 1 year ago
    Thaya, The tabs look OK to me.

    The way the CSS works has changed slightly so it is possible that it won't be exactly the same as previously.
  • K · 1 year ago
    Goshdarnnit! After upgrading to the latest version, the tab didn't work, instead all widgets added to the tab sidebar (ex #1) collapses in my sidebars. Any idea?
  • Andrew Rickmann · 1 year ago
    It seems to be working just right to me K
  • K · 1 year ago
    I had it fixed only by changing the tab css (color, text size) on my ftp log in not in the tab css selection at my dashboard widget. Thanks for looking at it.
  • Hellows · 1 year ago
    After updating the plugin to the lastes version my tabs in the theme stoped to work. I have deleted the widgets,tabs and relaunched the plugin. I also checked numbering etc. All i can see in the theme is the '+' sign. Any ideas how can I solve this ?
  • Andrew Rickmann · 1 year ago
    Hellows, Right now it looks like you don't have any widgets in the tabbed sidebar for it to display.
  • hellows · 1 year ago
    Sorry, I have taken them out it just did not look to good. I have now put them back. The tabs are working in the sidebar. They are however not working in my theme after the update. At the end of the main page in the left corner you will now see the plus sign and on the left in the sidebar the ‘test’ tabs I have set up. When you click on the plus it just disappears. The .php code is not in a table or anything like that so there is enough space for the tabs (as I know that sometimes you get a + and – if there is not enough space.

    Kind regards
    hellows
  • Andrew Rickmann · 1 year ago
    Hellows, I have corrected a bug and released a further version which I hope will fix your problem.
  • Caprica · 1 year ago
    Since upgrading to wordpress 2.6, my sidebar tabs have stopped working. I just get a massive sidebar list inline now.

    does the sidebar tab widget work yet with 2.6?
  • Andrew Rickmann · 1 year ago
    Caprica, It seems to be working on your site just fine to me.
  • Matthew · 1 year ago
    Fantastic plugin!

    This plugin make my life easier. Thanks again!
  • Caprica · 1 year ago
    yeah - it seems to be working now.

    I am not sure why it didnt work when I first upgraded.

    btw. how do you remove the small indent before the first tab? I used to be able to fit 4 tabs accross and now I can only fit three

    thanks,
  • Andrew Rickmann · 1 year ago
    Caprica,

    If you edit the CSS for the sidebar, by selecting edit on the sidebar widget in the widgets admin page, and make sure the padding in the Tab Content Container reads:

    padding:10px 0px;

    This will get rid of the indent.
  • Thomas · 1 year ago
    Hi Andrew,

    It is a great plug in! I have a problem if I add a 2nd sidebar tab. I changed the style like the 1st but the sidebar tab is shown in the standard style... What could be my mistake?

    Best regards

    Thomas
  • Andrew Rickmann · 1 year ago
    Thomas,

    You haven't made a mistake. I have found a bug in the plugin.

    I am working on a version at the moment that isn't quite ready for release but you can correct the bug yourself quite easily.

    If you open the plugin file called fun_with_sidebar_tabs.php and replace the line that reads:

    $num_val = ( $i == 1 ) ? '1.first' : 1;

    with:

    $num_val = ( $i == 1 ) ? '1.first' : $i;

    That should resolve the error.
  • Caprica · 1 year ago
    Hi,

    I keep on getting the error" "Warning: cannot yet handle MBCS in html_entity_decode()! ..."

    I remember seeing a fix for this before, but I cant seem to find it.

    Where can I find the fix?

    thanks
  • Andrew Rickmann · 1 year ago
    Caprica,

    I have never seen this before but a Google search has netted me the following which attributes it to using PHP4:

    http://lesterchan.net/wordpress/2008/06/09/warn...

    I think the plugin that the error is being generated from is one of Lester Chan's so this page is pretty relevent.
  • Thaya Kareeson · 1 year ago
    Hi Andrew, I previously commented that I had an issue with CSS styles going from version 0.4.2 -> 5.1.0 having multiple instances of "fun with sidebar tabs" active. You did not see my tabs messed up when you visited my site because I had reverted to 0.4.2 to keep it working.

    After 2 version releases, I was still seeing the same issue so I finally found the time to debug it myself. I've finally figured out what was wrong with the plugin. The following line:

    $num_val = ( $i == 1 ) ? '1.first' : '1';

    needs to be changed to:

    $num_val = ( $i == 1 ) ? '1.first' : $i;

    If you do not change it, the CSS generated will never generate for plugin instances 2,3,4,etc. but will always keep override the first instance.
  • Andrew Rickmann · 1 year ago
    Thaya,

    Thanks for that note. I did know about that, I fixed it in version 0.6, but I made a lot of other changes so eventually decided not to release it. I should have made the bug-fixes separately.

    I will upload a new version.

    Andrew
  • baron · 1 year ago
    hi. Thanks for plugin

    perfect.

    Regards
  • Thaya Kareeson · 1 year ago
    Thank you for making the fix. I look forward to trying out your replacement plugin.
  • chris · 11 months ago
    I used to use this great sidebar widget with K2 and an older version of WP, but recently upgraded to WP 2.7 and know can't get it to work. Any thoughts or fixes?
  • Andrew Rickmann · 11 months ago
    Chris, on the whole it should Work with 2.7. I have just tested it on a clean install, using the default theme and it was OK.

    The only problem I found was that some of the widgets, the search widget for example, do not use the template html that the sidebar gives it; i.e. it ignores the before widget, before title, and after widget settings and therefore will break the tabbed interface.

    Is you use firebug or view source and find the html for the widgets, if any of them don't have an h3 with the title in followed by a div tag with the class tab-content then that widget will stop the plugin working.
  • ckd · 11 months ago
    Great plugin!

    I have one small problem with styling the CSS. I am trying to separte the tabs from the text area ie want to have about a 10px gap between the tab title area and the text area below. However, I am unable to achieve this using the css overide panel in admin. So the tabs are currently overlapping the text area. I am guessing that they are within a div and that I need to put the tabs outside the div to create the margin. Just not sure whether I should be looking for this in the php file or the css?

    Any suggestions?

    Thanks
  • Andrew Rickmann · 11 months ago
    You can do that by providing a negative margin-top value that is greater than the height of the tabs in the first box which is titled Amend the position of the tabs. i.e. margin-top:-80px;
  • ckd · 11 months ago
    Hi Andrew,

    Thanks for the information, I have the tabs working and looking pretty much the way I want them to now. Just have a couple of small issues which I would like to solve:

    1. When a page loads, the tabbed widget on top of the sidebar expands and then collapses to its normal size as the page loads. Is there a way to stop this from occuring?

    2. I styled my the tabbed widgets from the style.css sheet that came with the widget as opposed to the css orerride feature. However, the 'recent comments' in my theme is styled differently from other widgets but is now using the same styles. Is there a way in the style.css source file to give the recent comments there own specific styling?

    Thankyou
    ckd
  • Andrew Rickmann · 11 months ago
    I'm afraid there isn't really a way to prevent that from happening it is a function of the amount of time it is taking the page to load.

    For styling the contents of the widgets you will need to find out if that widget has a specific ID or class that you can use to style it with. You would need to write separate CSS for it.
  • Tommy · 11 months ago
    Hi I see there is great topic about great idea. I have installed Your plugin but I have problem cause when i install it goes fine in the admin/widgets. I Can see there Tabbed sidebar, I can change 1,2 many sidebar. But nothing happen when I go on my page. It's just like one bottom another like normal siderbar. No tabs. I use 3k2 Theme (it include 2 sidebar itself). What it can be? CSS issue? Oh I need to say that i try with defalut theme and others - with this same problem. I don't need add anything in theme files? Sorry but I'm not good in english at all. Regards !!
  • Andrew Rickmann · 11 months ago
    Tommy, the most likely cause is an error in the Javascript of another plugin.
  • Tommy · 11 months ago
    I turn off every plugins and it still doesn't work... I switch to another theme and the same issue. Strange and soo bad cause it's great plugin
  • Andrew Rickmann · 11 months ago
    In that case I have no idea what the cause could be I'm afraid. There may be something in your setup causing the problem but on the default theme with no plugins there is no reason I can think of why it wouldn't work.
  • Giggli · 11 months ago
    I've just transferred my site to a new host. I had Fun With Sidebars loaded, and was prompted to update it. I did, and after the update, the widgets the Tabbed Sidebar 1 contained have vanished *Recent Posts, Recent Comments, and Archive).
    They are listed as Used, but don't show up in any of the sidebars included Tabbed Sidebar 1.

    I have uninstalled all plugins and reinstalled them, but the widgets remain used. How can I get them back?
  • Andrew Rickmann · 11 months ago
    Hmm, it has been a long time since I changed this plugin so I don't know why it promoted you to update it. The only thing I can think of is to reset all the widgets. If you add the following line at the top of your theme's functions.php file, refresh the website, and the remove it, it should reset all your widgets.

    delete_option('sidebars_widgets');
  • stephan69 · 9 months ago
    Congratulation to that nice plugin which I found a couple of hours ago.
    I was able to install, activate, to define a tabbed widget and to put widgets into it.

    But it does not appear at the Frontend with ModernOak Theme on WP 2.7.

    Any suggestions?

    Thanx in advance, BR, St.
  • Andrew Rickmann · 9 months ago
    If it is only happening with that theme then either the theme is loading javascript that has errors in it or it is loading css that conflicts with the css in the plugin.

    If it is happening with other themes as well then another plugin may be doing those things.
  • Ali Mostofian · 9 months ago
    it has damaged my widgets! After configuration my wp-postview widget and FlexoArchive widget are no more visible! I have deactivated your plugin and still not able to get my potview and archive widgets to get visible!

    What to do now?
  • Andrew Rickmann · 9 months ago
    That is a problem with the WordPress widget system. Check out this post for information on how to reset all widgets to default status: http://justintadlock.com/archives/2009/03/03/wi...
  • mario · 9 months ago
    Plugin works like a charm even on WP 2.7.1.
    thx for a nice piece of work here!