It seems the things that should be the simplest in Dupal are the things that are impossible to find help with. Can anyone tell me simply how to define my regions so I can have a right sidebar and no left sidebar?

Any help would be appreciated.

Thanks.

Comments

Jeff Burnz’s picture

Rather depends on your theme, some sidebars only appear when a block is enabled for it, some themes always display them.

If you really need more info then read some of the documentation, plenty there to cover this and then some.

glovestudios’s picture

Yeah, I've been though as much documentation as I can find but don't see the answer. I thought I found the answer a few times but it didn't seem to do the trick.

-Anti-’s picture

As far as I'm aware, that kind of ability is completely theme dependent.
If the author hasn't written in the capability to move parts around in the
admin backend, then you'll have to edit the css and/or tpl files.

But I don't think you'll find instructions to do that; only descriptions of
how theming generally works.

glovestudios’s picture

I guess I'll have to keep digging through the template files. If anyone has any suggestions I'm working with the Zen theme and trying to get my left sidebar region moved to the right side, basically.

-Anti-’s picture

I don't know about the zen theme, but in the Garland theme I made both sidebar blocks appear on the right side just by changing the left-siderbar class to 'float: right' in 'style.css', as suggested by proudleo.

Have you tried the 'firebug' add-on for firefox? It is an amazing realtime html/CSS editor. You load up your webpage, and can then edit the CSS; the page will reflect the changes in realtime, so you can see what you're doing. It might help.

But basically, every theme and template is different. And for that reason, you aren't going to find instructions about how to do single task in a single theme. The information available will nearly always be about how 'general theming' works in Drupal, but to actually create or edit themes there is no shortcut to learning quite a bit of html/CSS/php.

Africangeek’s picture

Geeksforafrica
http://drupal.org/node/193318

However why dont you just ignore the block you don't want and publish blocks only on the sidebar you want.
Administer >>block>>zen settings.
Make sure under the region you want it is none.

proudleo’s picture

float:right; in css for the left side bar with a clear for the footer?

glovestudios’s picture

I might have to fall back on that idea. I don't really like having right sidebar named "left sidebar" but I guess I might have to.

In my administration view I just wish there was an option for where to put your sidebar content. I don't see it in the options.

Thanks for the suggestions everybody.

glovestudios’s picture

I'll have to look that up. Thanks!

proudleo’s picture

Just rename it in page.tpl.php, template.php (in the regions area), and your css.

I did that with another region that I didn't like the name for...works fine.

glovestudios’s picture

Good point.