1
stratoz4
How do i make a theme for one block different to the rest of them
  • 2004/2/26 6:50

  • stratoz4

  • Just popping in

  • Posts: 53

  • Since: 2003/7/10


Hi, i want to make 1 block for my left column different from all the other left blocks.. e.g. i dont want it to have anything in it, just be a blank square, and i want to be able to set details for each one separate of the general theme..

how can i do this?

2
bennie
Re: How do i make a theme for one block different to the rest of them
  • 2004/2/26 14:16

  • bennie

  • Just popping in

  • Posts: 40

  • Since: 2003/7/3 1


witch block do you want to change?

3
king76
Re: How do i make a theme for one block different to the rest of them
  • 2004/2/26 14:43

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hello,

You must testing the block's name in your theme

Example for : www.xoops-modules.com (block at left)

<div class="leftcolumn">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<{if $block.title =="User menu"}>
<!-- theme for User Menu -->
<{include file="xoopsmods/theme_blockleft_user.html"}>
<{else}>
<!-- theme for the others -->
<{include file="xoopsmods/theme_blockleft.html"}>
<{/if}>
<{/foreach}>
<!-- End left blocks loop -->
</div>

4
stratoz4
Re: How do i make a theme for one block different to the rest of them
  • 2004/3/3 8:56

  • stratoz4

  • Just popping in

  • Posts: 53

  • Since: 2003/7/10


ahh yes! excellent thankyou very much!!!!!!


saved a lot of trouble for me.

all the best :)

Login

Who's Online

222 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 222


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