1
Zjerre
Recent comments under news
  • 2004/4/13 11:41

  • Zjerre

  • Just popping in

  • Posts: 69

  • Since: 2003/9/6 1


Although I've tried changing the weight of the 'recent comments' and 'newbb topics' blocks, these blocks always are positioned on the website above my news postings. Just like it is on the xoops.org main page. Is it possible to put these blocks under my news items? And if yes, how?

Thanks in advance.

2
meme
Re: Recent comments under news
  • 2004/4/13 11:58

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


open you theme.html

find
<div dir=rtl id="content">
<{$xoops_contents}>
</div>

put it under the centers blocks thats all

3
Zjerre
Re: Recent comments under news
  • 2004/4/13 16:40

  • Zjerre

  • Just popping in

  • Posts: 69

  • Since: 2003/9/6 1


I found this:

<!-- End center-right blocks loop -->

</td>
</tr>
</table>

<{/if}>
<!-- End display center blocks -->

<div id="content">
<{$xoops_contents}>
</div>
</td>

<{if $xoops_showrblock == 1}>

<td id="rightcolumn" align="center">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<div class="blockTitle"><center>.:<{$block.title}>:.</center></div>
<div class="blockContent"><{$block.content}></div>
<br />
<{/foreach}>

<!-- End right blocks loop -->


What you suggested was done yet in the original theme, so that ain't a solution...

4
kahumbu
Re: Recent comments under news
  • 2004/4/13 16:59

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


The div with the <{$xoops_contents}> handles your news items (and any other items/content of a module). Place that above your center blocks if you want it to show first before the blocks.

5
Zjerre
Re: Recent comments under news
  • 2004/4/13 17:33

  • Zjerre

  • Just popping in

  • Posts: 69

  • Since: 2003/9/6 1


If this is a part of theme.html, then ...

<table id="top" align="center" cellspacing="0">
<tr id="header">
<td id="headerlogo"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/titel.jpg" width="79" height="79" alt="Moeder Oilsjterse" /></td>
<td id "headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/logo.jpg" width="400" height="79" alt="Moeder Oilsjterse" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
<tr>
<td id="headerbar" colspan="3">&nbsp;</td>
</tr>
</table>

<table id="middle" align="center" cellspacing="0">
<tr>
<td id="leftcolumn" align="center">

THIS SHOUL BE THE PLACE???

<!-- Start left blocks loop -->

<{foreach item=block from=$xoops_lblocks}>
<div class="blockTitle"><center>.:<{$block.title}>:.</center></div>
<div class="blockContent"><{$block.content}></div>
<br />
<{/foreach}>
<!-- End left blocks loop -->

</td>

<td id="centercolumn">

<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>

<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">

<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<div style="padding: 5px;">
<fieldset>
<legend class="blockTitle"><{$block.title}></legend>
<div class="blockContent"><{$block.content}></div>
</fieldset>
</div>
<{/foreach}>
<!-- End center-center blocks loop -->

6
Mithrandir
Re: Recent comments under news

No, that would place the main contents in the left column.
<td id="centercolumn">

<!-- 
Place main contents here (will put all blocks under content) -->

<!-- 
Display center blocks if any -->
<{if 
$xoops_showcblock == 1}>

<
table cellspacing="0">
<
tr>
<
td id="centerCcolumn" colspan="2">

<!-- 
Start center-center blocks loop -->
<{foreach 
item=block from=$xoops_ccblocks}>
<
div style="padding: 5px;">
<
fieldset>
<
legend class="blockTitle"><{$block.title}></legend>
<
div class="blockContent"><{$block.content}></div>
</
fieldset>
</
div>
<{/foreach}>
<!-- 
End center-center blocks loop -->

<!-- or 
place it here, and the center-center (wide center blockswill be above main contentcenter-left and center-right will be below main content -->

7
Zjerre
Re: Recent comments under news
  • 2004/4/16 14:55

  • Zjerre

  • Just popping in

  • Posts: 69

  • Since: 2003/9/6 1


<!-- End left blocks loop -->
 
      </
td>

      <
td id="centercolumn"
 <
div id="content">
          <{
$xoops_contents}>
        </
div>
        <!-- 
Display center blocks if any -->
        <{if 
$xoops_showcblock == 1}>

        <
table cellspacing="0">
          <
tr>
            <
td id="centerCcolumn" colspan="2">

            <!-- 
Start center-center blocks loop -->


So this would be the place?
No changes... Still blocks above the news

8
kahumbu
Re: Recent comments under news
  • 2004/4/16 16:17

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Delete all files from the templates_c folder except the index.html.

Also, check if you have "Update module template .html files ..." from Sys Ad > Prefs > Gen Settings set to Yes.

Login

Who's Online

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


Members: 0


Guests: 243


more...

Donat-O-Meter

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

Latest GitHub Commits