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

<{$xoops_contents}>


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:







<{/if}>



<{$xoops_contents}>



<{if $xoops_showrblock == 1}>



<{foreach item=block from=$xoops_rblocks}>
.:<{$block.title}>:.

<{$block.content}>



<{/foreach}>




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 ...










 








THIS SHOUL BE THE PLACE???



<{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}>


6
Mithrandir
Re: Recent comments under news

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




<{if 
$xoops_showcblock == 1}>

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


<{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}>



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

  • Zjerre

  • Just popping in

  • Posts: 69

  • Since: 2003/9/6 1



 
      td>

      <
td id="centercolumn"
 <
div id="content">
          <{
$xoops_contents}>
        div>
        
        <{if 
$xoops_showcblock == 1}>

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

            


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

263 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 263


more...

Donat-O-Meter

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

Latest GitHub Commits