1
digitalrob
Block problems...
  • 2005/12/24 16:32

  • digitalrob

  • Just popping in

  • Posts: 4

  • Since: 2005/12/22


Ok..

I am trying to get some blocks to display on my site:

www.thedigitalrob.com/html

The problem is that the blocks will not show up on the left or the right of my template...ONLY in the center column

When you select the "location" of your block from the admin tool it looks like this:

O O O O O

If I select the outer left or right it does not show up. If I select the inner left or right OR the middle it displays.

Is it my template that is stopping me or something I have wrong with my blocks?

I have the groups setup to view them as well.

Thanks.

2
Quest
Re: Block problems...
  • 2005/12/24 19:16

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Make sure in the administraton for blocks you have the blocks visible for the module you are using as the front page.

I took a look as best I could at the html/wow/theme.html.

I see where you are wanting to include the file xd_cs/menu_gauche.html for your left blocks. I could not find this file anywhere. Make sure your path is correct. Right now it is trying to find this file in:
http://www.thedigitalrob.com/html/themes/wow/xd_cs/menu_gauche.html

Also you may want to add: <{if $xoops_showlblock == 1}> and the close if <{/if}> tag in the appropriate locations for the left blocks loop.

3
erzon
Re: Block problems...
  • 2005/12/24 19:22

  • erzon

  • Quite a regular

  • Posts: 211

  • Since: 2005/1/1 3


maybe your theme dont have code for left and right block..

try this for left block

<{if $block.title != ""}><div class="blockTitle"><{$block.title}></div><{/if}>
<
div class="blockContent"><{$block.content}></div>


and this for right block

<{if $block.title != ""}><div class="blockTitle"><{$block.title}></div><{/if}>
<
div class="blockContent"><{$block.content}></div>


if you want you can save it as leftblock.html and rightblock.html and call it in your theme.html by this code in your theme.html

for calling the left block

<!-- Display left blocks start-->
<{if 
$xoops_showlblock == 1}>
      <
td id="leftcolumn"><!-- Start left blocks loop -->
<{foreach 
item=block from=$xoops_lblocks}> <{include file="leftblock.html"}> <{/foreach}><{/if}>
        <!-- 
End left blocks loop -->


and here for calling the right block
<!-- Display right blocks start-->
<{if 
$xoops_showrblock == 1}>
      <
td id="rightcolumn"><!-- Start right blocks loop -->
<{foreach 
item=block from=$xoops_rblocks}> <{include file="pinoy3/blocks/theme_blockright.html"}> <{/foreach}>
        <!-- 
End right blocks loop --><{/if}>


well hope it help

Login

Who's Online

125 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 125


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