1
jimwillshire
Centre blocks disappearing!

Dear All,

I'm currently trying to change the theme on the website I'm working on, I was using 7-dana-clean & all was working well, I've now switched to v2brasil but the centre blocks seem to have dropped right to the bottom!

I'm not sure where to begin sorting the problem, is this a template or a theme problem?

I have read through the "Anatomy ofa theme", but can't find the answer,

Any help appreciated

Jim

p.s. you can see the problem at www.vetscope.co.uk

2
script_fu
Re: Centre blocks disappearing!

Post your theme.html then we can help fix the problem.

3
jimwillshire
Re: Centre blocks disappearing!

Thanks Billy,

HTML for theme pasted below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="Bertholdo Consultoria" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_themecss}>" />
<!-- 
RMVadded module header -->
<{
$xoops_module_header}>
<
script type="text/javascript">
<!--
<{
$xoops_js}>
//-->
</script>
</
head>

<
body>
    <
div id="page">
        <
div id="header">
            <
OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
            
WIDTH="770" HEIGHT="150" id="Menu" ALIGN="">
            <
PARAM NAME=movie VALUE="<{$xoops_imageurl}>images/cabecalho.swf">
            <
PARAM NAME=menu VALUE=false>
            <
PARAM NAME=quality VALUE=high>
            <
PARAM NAME=scale VALUE=exactfit
            <
PARAM NAME=bgcolor VALUE=#ffffff>
            
<EMBED src="<{$xoops_imageurl}>images/cabecalho.swf" menu=false quality=high scale=exactfit bgcolor=#666666  WIDTH="770" HEIGHT="150" NAME="Bertholdo" ALIGN="" TYPE="application/x-shockwave-flash" 
            
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
            </
OBJECT>
        </
div>
        <
div id="creditos">
            
© 2005 <a href="http://www.bertholdo.com.br" title="55 31 3378-7397">Bertholdo Consultoria</a> <br>
            
Este portal utiliza o tema BRASILv2.
        </
div>
        <
div id="leftcolumn">
            <!-- 
Start left blocks loop -->
            <{foreach 
item=block from=$xoops_lblocks}>
            <{include 
file="brasilv2/theme_blockleft.html"}>
            <{/foreach}>
            <!-- 
End left blocks loop -->
        </
div>
        <{if 
$xoops_showrblock == 1}>
        <
div id="rightcolumn">
            <!-- 
Start right blocks loop -->
            <{foreach 
item=block from=$xoops_rblocks}>
            <{include 
file="brasilv2/theme_blockright.html"}>
            <{/foreach}>
            <!-- 
End right blocks loop -->
        </
div>
        <{/if}>
        <
div id="centercolumn<{$xoops_showrblock}>">
            <!-- 
Display center blocks if any -->
            <{if 
$xoops_showcblock == 1}>
                <
div id="centerCcolumn">
                    <!-- 
Start center-center blocks loop -->
                    <{foreach 
item=block from=$xoops_ccblocks}>
                    <{include 
file="brasilv2/theme_blockcenter_c.html"}>
                    <{/foreach}>
                    <!-- 
End center-center blocks loop -->
                </
div>
                <
div id="centerLcolumn">
                    <!-- 
Start center-left blocks loop -->
                    <{foreach 
item=block from=$xoops_clblocks}>
                    <{include 
file="brasilv2/theme_blockcenter_l.html"}>
                    <{/foreach}>
                    <!-- 
End center-left blocks loop -->
                </
div>
                <
div id="centerRcolumn">
                    <!-- 
Start center-right blocks loop -->
                    <{foreach 
item=block from=$xoops_crblocks}>
                    <{include 
file="brasilv2/theme_blockcenter_r.html"}>
                    <{/foreach}>    
                    <!-- 
End center-right blocks loop -->
                </
div>
            <{/if}>
            <
div id="content">
                <{
$xoops_contents}>
            </
div>
            <!-- 
Exibir os banners -->
            <
div id="content_banner">
                <{
$xoops_banner}>
            </
div>
        </
div>
        <!-- 
End display center blocks -->        
        
        <
div id="rodape">© 2005 <a href="mailto:bertholdo@bertholdo.com.br" title="55 31 3378-7397">Bertholdo Consultoria</a> | Todos os direitos reservados
        
</div>
    </
div>
</
body>
</
html>


Cheers

Jim

4
Will_H
Re: Centre blocks disappearing!
  • 2007/10/23 22:52

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


<div id="centercolumn<{$xoops_showrblock}>"> ??

Try this change

<div id="centercolumn<{$xoops_showrblock}>">


to

<div id="centercolumn">

5
jimwillshire
Re: Centre blocks disappearing!

Thanks Will,

I tried that, but made no difference to the layout at all:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<
meta http-equiv="content-language" content="en" />
<
meta name="robots" content="index,follow" />
<
meta name="keywords" content="news, technology, headlines, xoops, xoop, nuke, myphpnuke, myphp-nuke, phpnuke, SE, geek, geeks, hacker, hackers, linux, software, download, downloads, free, community, mp3, forum, forums, bulletin, board, boards, bbs, php, survey, poll, polls, kernel, comment, comments, portal, odp, open, source, opensource, FreeSoftware, gnu, gpl, license, Unix, *nix, mysql, sql, database, databases, web site, weblog, guru, module, modules, theme, themes, cms, content management" />
<
meta name="description" content="XOOPS is a dynamic Object Oriented based open source portal script written in PHP." />
<
meta name="rating" content="general" />
<
meta name="author" content="XOOPS" />
<
meta name="copyright" content="Copyright &amp;copy; 2001-2006" />
<
meta name="generator" content="Bertholdo Consultoria" />
<
title>VetScope Free online resource for vets &ampstudents</title>
<
link href="http://www.vetscope.co.uk/xoops/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="screen" href="http://www.vetscope.co.uk/xoops/xoops.css" />
<
link rel="stylesheet" type="text/css" media="screen" href="http://www.vetscope.co.uk/xoops/themes/brasilv2/style.css" />
<!-- 
RMVadded module header -->

<
meta http-equiv="Content-Script-Type" content="text/javascript" />
<
meta http-equiv="Content-Style-Type" content="text/css" />
<
script type="text/javascript" src="http://www.vetscope.co.uk/xoops/include/xoops.js">
</
script>

<
script type="text/javascript">
<!--

//-->
</script>
</
head>

<
body>
    <
div id="page">
        <
div id="header">
            <
OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
            
WIDTH="770" HEIGHT="150" id="Menu" ALIGN="">
            <
PARAM NAME=movie VALUE="http://www.vetscope.co.uk/xoops/themes/brasilv2/images/cabecalho.swf">
            <
PARAM NAME=menu VALUE=false>
            <
PARAM NAME=quality VALUE=high>
            <
PARAM NAME=scale VALUE=exactfit
            <
PARAM NAME=bgcolor VALUE=#ffffff>
            
<EMBED src="http://www.vetscope.co.uk/xoops/themes/brasilv2/images/cabecalho.swf" menu=false quality=high scale=exactfit bgcolor=#666666  WIDTH="770" HEIGHT="150" NAME="Bertholdo" ALIGN="" TYPE="application/x-shockwave-flash" 
            
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
            </
OBJECT>
        </
div>
        <
div id="creditos">
            &
copy2005 <a href="http://www.bertholdo.com.br" title="55 31 3378-7397">Bertholdo Consultoria</a> <br>
            
Este portal utiliza o tema BRASILv2.
        </
div>
        <
div id="leftcolumn">
            <!-- 
Start left blocks loop -->
                        <
div id="left_block">
    <
div id="left_block_title">
        <
div id="left_block_title_t1"></div>
        <
div id="left_block_title_t2">Login</div>                
    </
div>
    <
div id="left_block_content">
        <
div id="left_block_content_area"><form style="margin-top: 0px;" action="http://www.vetscope.co.uk/xoops/user.php" method="post">
    
Username: <br />
    <
input type="text" name="uname" size="12" value="" maxlength="25" /><br />
    
Password: <br />
    <
input type="password" name="pass" size="12" maxlength="32" /><br />
    <!-- <
input type="checkbox" name="rememberme" value="On" class ="formButton" /><br /> //-->
    
<input type="hidden" name="xoops_redirect" value="/xoops/" />
    <
input type="hidden" name="op" value="login" />
    <
input type="submit" value="User Login" /><br />
    
</
form>
<
a href="http://www.vetscope.co.uk/xoops/user.php#lost">Lost Password?</a>
<
br /><br />
<
a href="http://www.vetscope.co.uk/xoops/register.php">Register now!</a></div>
    </
div>
    <
div id="left_block_footer"></div>
</
div>                        <div id="left_block">
    <
div id="left_block_title">
        <
div id="left_block_title_t1"></div>
        <
div id="left_block_title_t2">Search</div>                
    </
div>
    <
div id="left_block_content">
        <
div id="left_block_content_area"><form style="margin-top: 0px;" action="http://www.vetscope.co.uk/xoops/search.php" method="get">
  <
input type="text" name="query" size="14" /><input type="hidden" name="action" value="results" /><br /><input type="submit" value="Search" />
</
form>
<
a href="http://www.vetscope.co.uk/xoops/search.php">Advanced Search</a></div>
    </
div>
    <
div id="left_block_footer"></div>
</
div>                        <div id="left_block">
    <
div id="left_block_title">
        <
div id="left_block_title_t1"></div>
        <
div id="left_block_title_t2">Main Menu</div>                
    </
div>
    <
div id="left_block_content">
        <
div id="left_block_content_area"><table cellspacing="0">
  <
tr>
    <
td id="mainmenu">
      <
class="menuTop" href="http://www.vetscope.co.uk/xoops/">Home</a>
      <!-- 
start module menu loop -->
            <
class="menuMain" href="http://www.vetscope.co.uk/xoops/modules/newbb/">Forum</a>
                    <
class="menuMain" href="http://www.vetscope.co.uk/xoops/modules/news/">News</a>
                    <!-- 
end module menu loop -->
    </
td>
  </
tr>
</
table></div>
    </
div>
    <
div id="left_block_footer"></div>
</
div>                        <div id="left_block">
    <
div id="left_block_title">
        <
div id="left_block_title_t1"></div>
        <
div id="left_block_title_t2">Who's Online</div>                
    </div>
    <div id="left_block_content">
        <div id="left_block_content_area"><b>1</b> user(s) are online<br /><br />Members: 0<br />Guests: 1<br /><br /> <a href="javascript:openWithSelfMain('
http://www.vetscope.co.uk/xoops/misc.php?action=showpopups&amp;type=online','Online',420,350);">more...</a></div>
    
</div>
    <
div id="left_block_footer"></div>
</
div>                        <!-- End left blocks loop -->
        </
div>
                <
div id="centercolumn"></div>
            <!-- 
Display center blocks if any -->
                            <
div id="centerCcolumn">
                    <!-- 
Start center-center blocks loop -->
                                        <
div style="padding: 5px;">
  <
fieldset>
    <
legend class="blockTitle">Welcome to VetScope!</legend>
    <
div class="blockContent"><br>
This is the free online resource known as VetScope launched 23.8.06<br>
<
br>
It's aimed at new graduate vets & final year students primarily, but anyone is welcome.<br>
<br>
If this is your first time to the site then please spend a minute or two looking at what we have to offer.<br>
<br>
One of the more interesting resources is the CPD Review, use it to find out whether your money will be well spent! Or better still, take a moment to review your latest CPD - just give yourself an anonymous username & submit!<br>
<br>
For those of you wondering why you now have to login...<br>
VetScope is a completely free service & we hope to maintain it that way, however running a site like this does have overheads & we'
re currently looking for ways to generate the income to cover. <br>
Therefore logging in enables us to track how many users we havehow often you guys are using it hopefully what you think of it through the comments sections!<br>
<
br>
WE WILL NOT BE SELLING YOUR CONTACT DETAILS ONTHE ONLY EMAIL YOU WILL RECEIVE WILL BE OUR NEWSLETTER (should you decide to sign up for it)<br>
<
br>
Hope you find something useful...<br>
<
br>
Jim James<br>
<
br></div>
  </
fieldset>
</
div>                                        <div style="padding: 5px;">
  <
fieldset>
    <
legend class="blockTitle">Recent News</legend>
    <
div class="blockContent"><table>
        <
tr>
        <
td>
            <
ul>
                                                            <
li>
                                                    [
2007/1/17]
                                                <
a href="http://www.vetscope.co.uk/xoops/modules/news/article.php?storyid=7" >Winter Dysentery!</a> <br /></li>
                                                                                <
li>
                                                    [
2006/11/25]
                                                <
a href="http://www.vetscope.co.uk/xoops/modules/news/article.php?storyid=2" >CPD Reviews Launched!</a> <br /></li>
                                                                                <
li>
                                                    [
2006/11/25]
                                                <
a href="http://www.vetscope.co.uk/xoops/modules/news/article.php?storyid=1" >VetScope gets new website!</a> <br /></li>
                                                </
ul>
        </
td>
    </
tr>
</
table>
</
div>
  </
fieldset>
</
div>                                        <!-- End center-center blocks loop -->
                </
div>
                <
div id="centerLcolumn">
                    <!-- 
Start center-left blocks loop -->
                                        <!-- 
End center-left blocks loop -->
                </
div>
                <
div id="centerRcolumn">
                    <!-- 
Start center-right blocks loop -->
                        
                    <!-- 
End center-right blocks loop -->
                </
div>
                        <
div id="content">
                
            </
div>
            <!-- 
Exibir os banners -->
            <
div id="content_banner">
                &
nbsp;
            </
div>
        </
div>
        <!-- 
End display center blocks -->        
        
        <
div id="rodape">&copy2005 <a href="mailto:bertholdo@bertholdo.com.br" title="55 31 3378-7397">Bertholdo Consultoria</a> | Todos os direitos reservados
        
</div>
    </
div>
</
body>
</
html>


Any other ideas?

Jim

6
jimwillshire
Re: Centre blocks disappearing!

BUMP!

Any ideas?

7
Will_H
Re: Centre blocks disappearing!
  • 2007/10/30 21:11

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


that should have fixed it.

Are you sure that you cleared your templates_c after saving?

8
jimwillshire
Re: Centre blocks disappearing!

Hi Will,

I'd love to say that I did - but I'm not sure that I know what you mean!

Jim

9
Will_H
Re: Centre blocks disappearing!
  • 2007/10/31 12:59

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


You have to delete all the php files in your templates_c folder,
leave the index.html alone, then refresh your web page.

10
jimwillshire
Re: Centre blocks disappearing!

Nope, I'm afraid it didn't get it going!

Any other ideas?

Thanks
Jim

Login

Who's Online

221 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

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

Latest GitHub Commits