11
This sounds cool. I've been wondering how to do that. Can someone tell me what I am doing wrong here? I'm sure I have a line out of order or something:
<div class="rightcolumn">
<{if $block.title == "[Community Login]"}>
<div class="login">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<div class="rightblocks">
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
</div>
<{/foreach}>
<!-- End right blocks loop -->
</div>
<{else}>
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<div class="rightblocks">
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
</div>
<{/foreach}>
<!-- End right blocks loop -->
<{/if}>
The difference, is the <div class="welcome"> CSS class of the block is called "Community Login."