I have my start page module set as the FAQ. I have a cusom block "Welcome" that shows only on the TOP page and displays above the FAQ.
Tried everything I could think of but can't seem to place the custom block below the FAQ.
Is this possible?
| |
|
| Stats | |
| Goal: | $100.00 |
| Due Date: | May 31 |
| Gross Amount: | $65.00 |
| Net Balance: | $61.80 |
| Left to go: | $38.20 |
|
|
|
| Donations | |
| studioC ($25)May-17 | |
| Anonymous ($15)May-16 | |
| Anonymous ($25)May-4 | |

<!-- Start center-center blocks loop -->
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{if $block.title != "FAQ_BLOCK_NAME_HERE"}>
<table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle"> <{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<{/if}>
<!-- End center-center blocks loop -->
<div id="content">
<{$xoops_contents}>
</div>
<!-- Start FAQ block loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{if $block.title == "FAQ_BLOCK_NAME_HERE"}>
<table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle"> <{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<{/if}>
<!-- End FAQ blocks loop -->
</td>
So if all you want is to have contents before blocks, move things around and you're set.
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>
<!-- Ãæ±û-Ãæ±û¥Ö¥í¥Ã¥¯Éôʬ¤ÎÄêµÁ -->
<td id="centerCcolumn" colspan="2">
<{foreach item=block from=$xoops_ccblocks}>
<div style="padding: 5px;">
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
</div>
<{/foreach}>
</td>
<!-- Ãæ±û-Ãæ±û¥Ö¥í¥Ã¥¯Éôʬ½ª¤ï¤ê -->
</tr>
<tr>
<!-- Ãæ±û-º¸¥Ö¥í¥Ã¥¯Éôʬ¤ÎÄêµÁ -->
<td id="centerLcolumn">
<{foreach item=block from=$xoops_clblocks}>
<div style="padding: 0px 0px 0px 8px;">
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
</div>
<{/foreach}>
</td>
<!-- Ãæ±û-º¸¥Ö¥í¥Ã¥¯Éôʬ½ª¤ï¤ê -->
<!-- Ãæ±û-±¦¥Ö¥í¥Ã¥¯Éôʬ¤ÎÄêµÁ -->
<td id="centerRcolumn">
<{foreach item=block from=$xoops_crblocks}>
<div style="padding: 0px 5px 0px 0px;">
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
</div>
<{/foreach}>
</td>
<!-- Ãæ±û-±¦¥Ö¥í¥Ã¥¯Éôʬ½ª¤ï¤ê -->
</tr>
</table>
<{/if}>
<!-- End display center blocks -->