1
cschloeg
Table Problems (theme.html)
  • 2004/3/4 17:40

  • cschloeg

  • Just popping in

  • Posts: 7

  • Since: 2004/1/13


Hey guys,

Here's my issue, I wanted to make the whole theme page one table for astetic purposes. So for orginaztional purposes I just decided to rebuild the theme.html in my image (muhaha) but now when I view the page I get a blank page. I simply built the table I wanted then tried moving all of the XOOPS elements over.

I figure I must be missing something and am hoping you guys can help. Here's the theme.html file I have.

Quote:












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



<{$xoops_module_header}>














<{$xoops_contents}>

<{if $xoops_showrblock == 1}>

 


<{foreach item=block from=$xoops_lblocks}> <{include
file="default/theme_blockleft.html"}> <{/foreach}>





<{if $xoops_showcblock == 1}>










<{foreach item=block from=$xoops_ccblocks}> <{include file="default/theme_blockcenter_c.html"}>
<{/foreach}>



<{foreach item=block from=$xoops_clblocks}> <{include file="default/theme_blockcenter_l.html"}>
<{/foreach}>



<{foreach item=block from=$xoops_crblocks}> <{include file="default/theme_blockcenter_r.html"}>
<{/foreach}>




<{foreach item=block from=$xoops_rblocks}> <{include file="default/theme_blockright.html"}>
<{/foreach}>

<{/if}>








When I "view source" on it I notice that all of the headers are missing up to where the javascript kicks in if that helps.


Thanks,
Chris

2
studioC
Re: Table Problems (theme.html)
  • 2004/3/4 18:58

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello..

view source



should be between your tags


greetings
michael

3
cschloeg
Re: Table Problems (theme.html)
  • 2004/3/4 19:19

  • cschloeg

  • Just popping in

  • Posts: 7

  • Since: 2004/1/13


Fixed that, no difference.

When I try to visit the site the source it outputs to the browser is below. It has to be file specific because if I replace it with the last version of my theme.html it works fine. The "
Quote:







So now the theme.html I'm working with is as follows (with the javascript changes:

Quote:












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




<{$xoops_module_header}>













<{$xoops_contents}>

<{if $xoops_showrblock == 1}>

 


<{foreach item=block from=$xoops_lblocks}> <{include
file="default/theme_blockleft.html"}> <{/foreach}>




<{if $xoops_showcblock == 1}>










<{foreach item=block from=$xoops_ccblocks}> <{include file="default/theme_blockcenter_c.html"}>
<{/foreach}>



<{foreach item=block from=$xoops_clblocks}> <{include file="default/theme_blockcenter_l.html"}>
<{/foreach}>



<{foreach item=block from=$xoops_crblocks}> <{include file="default/theme_blockcenter_r.html"}>
<{/foreach}>




<{foreach item=block from=$xoops_rblocks}> <{include file="default/theme_blockright.html"}>
<{/foreach}>

<{/if}>








Any help is appreciated.
Peace,
Chris

4
tjnemez
Re: Table Problems (theme.html)
  • 2004/3/4 21:01

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey chris,

in all my themes i have made i use the following:














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





<{$xoops_module_header}>


now the body tag, then div or table tags

the above works for me, you can see the head tag is diff in mine.


5
tjnemez
Re: Table Problems (theme.html)
  • 2004/3/4 21:22

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey chris,

one other thing regarding XOOPS content:







<{$xoops_contents}>

<{if $xoops_showrblock == 1}>

your "content" div should follow the table tag:





<{$xoops_contents}>



<{if $xoops_showrblock == 1}>



Login

Who's Online

820 user(s) are online (69 user(s) are browsing Support Forums)


Members: 0


Guests: 820


more...

Donat-O-Meter

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

Latest GitHub Commits