1
Parafal
How can I put the News before the rest???
  • 2004/4/30 16:01

  • Parafal

  • Just popping in

  • Posts: 98

  • Since: 2003/6/7 2


I want to display the news before the Forum information. How can I do this?

Here in XOOPS we have first the Forum, Comments and news. I want to have the news before all blocks.

Thanks

2
JackJ
Re: How can I put the News before the rest???
  • 2004/4/30 18:21

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


You need to edit the tables in theme.html in your theme folder. If you have a look at the x2t theme.html code this defaults to showing blocks at the bottom. The theme.html for showing blocks at the top for x2t is in the "extras" folder.

Then compare the code for your existing theme.html.

In particular look for this:

<table width="98%" cellpadding="3" cellspacing="0" align="center">
<tr>
<td class="centercolumn" valign="top" colspan="2">
<div class="centercolumn">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="x2t/theme_blockcenter_c.html"}>
<br />
<{/foreach}>
<!-- End center-center blocks loop -->
</div>
</td></tr>
</table>

Should be below this somewhere:

<!-- End display center blocks -->


<br />
<div class="content">
<{$xoops_contents}>//this in particular
</div>
<br />

Don't use this code, it is just an example, but may point you in the right direction hopefully..

Login

Who's Online

174 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 174


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