1
kloy1334
Centre blocks won't display
  • 2004/4/18 20:41

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


My centre blocks won't display and I believe that the coding is correct. Which is below...

Quote:













<{$xoops_sitename}> - <{$xoops_pagetitle}>

href="<{$xoops_url}>/xoops.css" />

href="<{$xoops_themecss}>" />


<{$xoops_module_header}>






style="border-collapse: collapse" bordercolor="#111111" width="75%"
bgcolor="#FFFFFF">





















align="left" hspace="3" vspace="3">
 
align="left" valign="top" bordercolorlight="#FFFFFF">


<{foreach
item=block from=$xoops_lblocks}>



<{$block.title}> <{$block.content}><{/foreach}>



<{if $xoops_showcblock == 1}>







<{foreach item=block from=$xoops_ccblocks}>





<{$block.title}>

<{$block.content}>

<{/foreach}>


<{/if}>





<{foreach item=block from=$xoops_rblocks}>



<{$block.title}> <{$block.content}><{/foreach}>

background="<{$xoops_imageurl}>top.jpg" height="20">
color="#FFFFFF">Copyright © 2004
WiredBlog. All rights reserved.




2
CBlue
Re: Centre blocks won't display

Have you gone to blocks admin and checked off the center blocks you want to show up? Also, have you gone to groups admin and checked off the center blocks you want shown to each group?

3
Mithrandir
Re: Centre blocks won't display



<{if $xoops_showcblock == 1}>




and should go (I think)



<{foreach item=block from=$xoops_ccblocks}>


this is outside the

tag
<{$block.title}>

<{$block.content}>

<{/foreach}>


<{/if}>





------------------
If you are not getting ANY output, since I don't know if it is a custom made block or not, I would say that it is possible that the block content is empty.
Blocks without content are not displayed at all.

4
kloy1334
Re: Centre blocks won't display
  • 2004/4/18 21:47

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


Removing those tags caused a PHP debug error to show up for me.

Hmm.. everything works fine with 7dana's theme, but not here. And it is not even custom.

See? my current theme works. http://www.wiredblog.com

5
kloy1334
Re: Centre blocks won't display
  • 2004/4/18 23:03

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


Hello?

6
cuckston
Re: Centre blocks won't display
  • 2004/4/19 12:06

  • cuckston

  • Quite a regular

  • Posts: 268

  • Since: 2004/1/19


Be patient, You can't jus bump your post after an hour and 20mins. Especially not at midnight. They'll respond when they have an answer for you.

7
kloy1334
Re: Centre blocks won't display
  • 2004/4/19 12:52

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


Sorry, it's just that, it wasn't midnight here :)

8
Mithrandir
Re: Centre blocks won't display

I am sorry to say this, but "this gives an error" is very close to the least informative and most useless information

Please post the error messages and the corresponding context of the error (i.e. where in the code is this error +/- a few lines)

9
kloy1334
Re: Centre blocks won't display
  • 2004/4/19 13:28

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


Actually, using my original HTML coding above, it displays NO errors. But! it doesn't display the centre blocks either.

And the above help, i.e. Remove is confusing. I do not know which tr and td's to remove.

Do you see anything wrong with the coding above? I can probably manage to fix if the above code is right [my code I meant]

10
Mithrandir
Re: Centre blocks won't display

td>
tr>
td>
tr>

one and one too many

do you get anything on the screen? Is it blank? Can you see anything wrong when you view source? Is php debug on?

Login

Who's Online

472 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 472


more...

Donat-O-Meter

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

Latest GitHub Commits