By StarPower-Com on
my current theme only has header content and footer. Im trying to insert a right sidebar block, but I only need it displayed on one page, so when I have it disabled on the rest i need the main conent to be displayed across the total width of the page.
How do i create this. Thanks
Comments
right sidebar
You should alter your page.tpl.php file of your theme so it can support a right-side bar.
This file is in your themes directory for the current theme.
Maybe you have to alter the style.css file of your theme also.
If you don't know how to do this check the page.tpl.php file of another theme to find out how content is displayed.
you will find code something like this:
After the change in the page.tpl.php file (or find a theme that supports right Side bar ;-)
1. Create your block in administer-->Blocks
2. After creating your block set the region to Right SideBar.
3. Click Save Blocks
4. Click on configure and set your page where your block should be visible in to the "Show block on specific pages" configuration.
5. Click Save Block
Your block now will be visible only at the page you specified.
ReliabilityConsistencyFeedback...
Minor correction - the OP specified Drupal 5, the variable is $sidebar_right, not $right (which is Drupal 6).
Need help with IE?
Learn basic XHTML and CSS first.
Get Firebug.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.