1
ryuaka
Show a block module in horizontal way
  • 2011/10/1 17:39

  • ryuaka

  • Just popping in

  • Posts: 32

  • Since: 2011/9/24


Hi everybody.

I'm designing a new web page and well, I saw a theme calls XDBus that has block modules in the footer.

I would like to do this with other block modules like lastest news and try to make it based in the theme that I mention before, but however I'm still very lost with the instructions of the blocks.

I try to put in the footer of my page the left block, but I can not make it look horizontally, just appears in vertical way.

Can anyone help me? Thanks for everything.

2
deka87
Re: Show a block module in horizontal way
  • 2011/10/2 6:23

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


if you have something like this in your theme

<div class="leftcolumn">
          <{foreach 
item=block from=$xoBlocks.canvas_left}>
              <{include 
file="$theme_name/theme_blockleft.html"}>
          <{/foreach}>
      div>


I guess you can change it like this to put blocks one after another in a horizontal direction

<div class="leftcolumn">
          <{foreach 
item=block from=$xoBlocks.canvas_left}>
              <
div style="float:left;"><{include file="$theme_name/theme_blockleft.html"}>div>
          <{/foreach}>
      div>


but that's only my suggestion.

you can also use trabis' 'blocks anywhere' tool to place your blocks wherever you want in your theme.

hope that helps

deka
Mind anchors

3
ryuaka
Re: Show a block module in horizontal way
  • 2011/10/2 19:09

  • ryuaka

  • Just popping in

  • Posts: 32

  • Since: 2011/9/24


Thanks for response and the help I'm using the option of trabis and is pretty useful.

I already made it and I put a block in my footer page.

Thanks for all deka87. Greetings.

Login

Who's Online

176 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

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

Latest GitHub Commits