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:

<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

Who's Online

135 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 135


more...

Donat-O-Meter

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

Latest GitHub Commits