-
Website
http://www.wp-fun.co.uk -
Original page
http://www.wp-fun.co.uk/fun-with-sidebar-tabs/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Improving The Web
5 comments · 1 points
-
michaeltwofish
6 comments · 12 points
-
Busby SEO Test
2 comments · 1 points
-
ringmaster
7 comments · 1 points
-
SE7EN (Nice from Thailand)
4 comments · 1 points
-
-
Popular Threads
I will add a widget so that it can be added as a widget in an existing widgetised sidebar.
Will be keeping an eye on this plugin future wise.
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?
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
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.
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.
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.
The most up to version seems to be pointing to all the right places now though.
A suggestion for future updates... the ability to use more than one!
I will keep that in mind for the next update.
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.
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.
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
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.
The simplest way I have found to solve the problem, is to just place the tag before the PHP code.
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?
Did you 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.
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.
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
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.
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
Failing that I'm afraid I'm at a bit of a loss to explain the problem.
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?
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.
But the box still looks "ugly" :(
Seems that "Clean And Mean 3.0" is not compatible with the plugin :(
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!
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.
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!!
I will look at those when I do my next update.
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
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.
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.
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.
Thanks in advance.
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.
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
I wish you much success in the future.
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?
I have just uploaded a minor amendment that will prevent this error.
Thanks for tracking it down.
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?
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.
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.
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
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.
This plugin wiht gtranslate crash when i change the language... :(
;)
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.
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.
Thanks for the reminder. It seems there is a problem with Safari which I will need to get into. Everything else tests fine.
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.
*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.
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.
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.
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!
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?
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.
thank you! and i was trying to do what's outlined on this page: http://codex.wordpress.org/Giving_WordPress_Its...
If that isn't how it is then I am confused, but it works, so probably best leave it as it is. :-)
When I installed fun-with-sidebar, I configed recent comments into "tabbed sidebar" but wasn't visible.
I don't understand exactly what you mean. Do you have a website address that I can see?
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
WordPress records which plugins are used and in which sidebars, in a field called sidebars_widgets in the options table.
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?
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');
}
I've installed the plugin here: www.androinica.com
Any ideas on what I did wrong?
Thanks!
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.
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
That field is where the information is stored.
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?
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.
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?
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.
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>
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?
However, I am using Safari browser and it crashes several times on my end, what's the solution?
So far, I loved it.
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.
I guess that is down the default theme insisting that everything in the sidebar should be insude a list.
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
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.
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 :)
I will make that change the next time I update the plugin.
Thanks.
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.
Can you me the URL for your site so I can see what is happening on it?
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
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.
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>
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.
thecowboyshack.com
I don't want the style with gradual change(tab switch),how should I do?
Thanks.. great plugin..
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.
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.
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!
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.
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!
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.
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
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.
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!
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 { }
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.
'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.
It is working without problems for me on FF3.
Can you tell me if you are getting any javascript errors?
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)
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!
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)
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
I shouldn't be making changes when I this tired.
The way the CSS works has changed slightly so it is possible that it won't be exactly the same as previously.
Kind regards
hellows
does the sidebar tab widget work yet with 2.6?
This plugin make my life easier. Thanks again!
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,
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.
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
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.
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
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.
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:
needs to be changed to:
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.
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
perfect.
Regards
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.
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
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
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.
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?
delete_option('sidebars_widgets');
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.
If it is happening with other themes as well then another plugin may be doing those things.
What to do now?
thx for a nice piece of work here!