11
technigrafa
Re: Unique Block style in column

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:

le="color: #000000"><?php <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."

Login

Donat-O-Meter

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