Jump to content
Sign in to follow this  
andreamarucci

iblogpro 4 sidebar problem

Recommended Posts

andreamarucci

Hello I've just installed iblogpro 4 and everything work fine. Problem is that I've put some widget in the Drag & Drop sidebar and they show up. I've set the drag & drop sidebar as the default one. I've also put some widget in the accordion sidebar, i've Activated accordion effect but the accordion sidebar doesn't show up. What's the problem? Thanks

Share this post


Link to post
Share on other sites
cmunns

You may have activated accordion affect, but you still have to switch it to accordion style in the theme options

Share this post


Link to post
Share on other sites
Andrew

You might also be getting a JS conflict for some reason. Is firebug installed on your browser?

Share this post


Link to post
Share on other sites
andreamarucci

I think it's a configuration problem. Cmunns can you explain what i've to check/do? Manu thanks.

Share this post


Link to post
Share on other sites
andreamarucci

Adam if you can explain me better how to activate the accordion I'll be grateful. I've tried but really not understood what you mean. Thanks

Share this post


Link to post
Share on other sites
cmunns

Of course, just make sure that on the page you are trying to see it on you have the accordion sidebar selected. This will appear in the options for the page itself. Screen-shot-2010-04-26-at-10.33.13-AM.jpg

Share this post


Link to post
Share on other sites
andreamarucci

Thanks Adams but this does not solve my problem since I don't want to add some sidebars on some pages. I've just two pages defined in my blog and I don't mind if these pages show the sidebar or not. If you see my site you'll see that the drag and drop sidebar is shown because I've chosen to show that sidebar as the deault one. I would like to show the drag and drop sidebar AND the accordion one and not only the drag and drop one. If I choose the accordion as the default sidebar, the drag and drop disappear and vice versa but I would like to show both of them. Is that feasible? Thanks...

Share this post


Link to post
Share on other sites
cmunns

This is possible, you'll have to make a conditional statement. How do you want them ordered and on what pages?

Share this post


Link to post
Share on other sites
andreamarucci

I would like that when I enter the blog at http://blog.shift.it the first sidebar from the top is the drag & drop one and, below that one, the accordion sidebar. Thanks

Share this post


Link to post
Share on other sites
cmunns

Try adding this to your sidebar.php file just before the last closing div ` <?php if (is_home());?>

<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Accordion Sidebar') ) : ?>

<?php _e("Add Widgets", TDOMAIN);?>

<?php _e('The accordion sidebar has been selected but does not have any widgets. Add some widgets to your secondary sidebar in the admin under appearance > widgets.',TDOMAIN);?>
<?php endif; ?> `

Share this post


Link to post
Share on other sites
andreamarucci

Wow!!! It works!!! Thank you very much!!

Share this post


Link to post
Share on other sites
davidn

Thanks cmunns, I had the same problem. For me your solution produced two copies of the sidebar on some pages. So I would rather recommend to replace

<?php if(VPRO && pagelines('the_sidebar', $post->ID) == 'accordion'):?>
with
<?php if(VPRO && (pagelines('the_sidebar', $post->ID) == 'accordion') or is_home()):?>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×