1
Kalobotz
Forum stays in middle and right but not left
  • 2004/6/2 11:17

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


I have two blocks and one forum on the forum page. The two blocks are located below the forum and all three are in the center of the page. The forum and two blocks expand to the right but not to the left. How would I make the forum and two blocks expand to fit the entire screen?

2
Mithrandir
Re: Forum stays in middle and right but not left

That is controlled by your theme, which quite often assumes that there will be a left block area.

You can do this:
1. Open the theme.html of your theme in your favourite HTML editor
2. change this code:
<td id="leftcolumn">
        
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="default/theme_blockleft.html"}>
        <{/foreach}>
        

      td>


to
<{if $xoops_lblocks}>
      <
td id="leftcolumn">
        
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="default/theme_blockleft.html"}>
        <{/foreach}>
        

      td>
<{/if}>

3. Upload to the webserver
4. Enable "update module templates from themes/yourtheme folder" in system admin -> preferences -> general settings
5. See if the theme is as you want it
6. If yes, disable the "update module templates..." setting again. If no, go to item 1 and try again

3
Kalobotz
Re: Forum stays in middle and right but not left
  • 2004/6/2 12:50

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


Thanks

Login

Who's Online

306 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 306


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits