1
cmatt
left block issue
  • 2005/5/30 23:52

  • cmatt

  • Just popping in

  • Posts: 31

  • Since: 2004/3/25


I hacked around 4whitebusiness theme in the repository, but came to an issue

I want to just use the middle blocks (left-center-right)
When I disabled everything from left block, I still get a big white space.
I tried editing the theme.html by reducing the table width perctage to 0%, but that didnt do anything

http://mtcyouth.websiteallies.com/index.php

is the website for now...if u get a MySQL error try again later, this free site to have issues time to time..nothing with my site, its the host which has issues..but cant complain when its free right?:)

2
LazyBadger
Re: left block issue

Just kill
<td id="leftcolumn" valign="top">
        
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="4whitebusiness/theme_blockleft.html"}>
        <{/foreach}>
        

      td>

from theme

3
Lance_
Re: left block issue
  • 2005/5/31 1:01

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


If I may piggyback,

This option doesn't exist for the left column like for center and right columns??

<{if $xoops_showrblock == 1}>

4
pod
Re: left block issue
  • 2005/5/31 3:36

  • pod

  • Quite a regular

  • Posts: 301

  • Since: 2003/4/19


Quote:
If I may piggyback,

This option doesn't exist for the left column like for center and right columns??

<{if $xoops_showrblock == 1}>


Oddly, no.

However, you can use
<{if !empty($xoops_lblocks)}>

<{/if}>

...which achieves the desired result.

:)

5
Lance_
Re: left block issue
  • 2005/5/31 3:52

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


Thanks pod. Sounds good.

6
cmatt
Re: left block issue
  • 2005/5/31 5:59

  • cmatt

  • Just popping in

  • Posts: 31

  • Since: 2004/3/25


Quote:

LazyBadger wrote:
Just kill
<td id="leftcolumn" valign="top">
        
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="4whitebusiness/theme_blockleft.html"}>
        <{/foreach}>
        

      td>

from theme


I did kill this code, but still got a blank area

7
Bassman
Re: left block issue
  • 2005/5/31 6:06

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Dunno if it's right or not, but i just copied/pasted the source from your site into Dreamweaver, and there seems to be a few unclosed tags in there.
You might want to do the same with the original into a html editor that does code highlighting.

8
cmatt
Re: left block issue
  • 2005/5/31 6:28

  • cmatt

  • Just popping in

  • Posts: 31

  • Since: 2004/3/25


Quote:

Bassman wrote:
Dunno if it's right or not, but i just copied/pasted the source from your site into Dreamweaver, and there seems to be a few unclosed tags in there.
You might want to do the same with the original into a html editor that does code highlighting.


yeah it might not be my code....this site ads their ads with their codes...so it might be theirs...
I edited all my pages through dreamweaver...I only found only issue with the but i dont understand why its highlighted, since its supposed to be there.

9
Bassman
Re: left block issue
  • 2005/5/31 6:32

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


That's true. It won't work at all without the tag lol.
It's probably worth asking - did you set "Update module template .html files from themes/your theme/templates directory?" to yes? (in system admin>Preferences>General)

10
cmatt
Re: left block issue
  • 2005/5/31 6:34

  • cmatt

  • Just popping in

  • Posts: 31

  • Since: 2004/3/25


I dont think I did,
but I know about the cache thing... I usually empty the templates_c folder, and the refresh the browser

Login

Who's Online

240 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

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

Latest GitHub Commits