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">
    
        <{foreach 
item=block from=$xoops_rblocks}>
        <
div class="rightblocks">
           <
div class="blockTitle"><{$block.title}>div>
           <
div class="blockContent"><{$block.content}>div>
        div>
   <{/foreach}>
   
      div>
   <{else}>
    
        <{foreach 
item=block from=$xoops_rblocks}>
        <
div class="rightblocks">
          <
div class="blockTitle"><{$block.title}>div>
          <
div class="blockContent"><{$block.content}>div>
        div>
   <{/foreach}>
   
   <{/if}>


The difference, is the
CSS class of the block is called "Community Login."

Login

Who's Online

361 user(s) are online (265 user(s) are browsing Support Forums)


Members: 0


Guests: 361


more...

Donat-O-Meter

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

Latest GitHub Commits