1
Fastian
Block Settings Problem
  • 2005/11/8 15:35

  • Fastian

  • Not too shy to talk

  • Posts: 156

  • Since: 2005/6/6 0


I am getting some problem with custom block.

Here it is my setting of wait for the blocks that i have at main page

http://img75.imageshack.us/img75/512/image18aa.jpg

But what ever i do with the weight of wallpaper block it always show above the news blocks.

What can I do to show Wallpaper block below the news blocks ??
I m not a Programmer
BUT
I m a Good Learner

2
Fastian
Re: Block Settings Problem
  • 2005/11/8 16:06

  • Fastian

  • Not too shy to talk

  • Posts: 156

  • Since: 2005/6/6 0


I am using XOOPS 2.0.13.2.

If this could help.
I m not a Programmer
BUT
I m a Good Learner

3
Dave_L
Re: Block Settings Problem
  • 2005/11/8 17:00

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


If you want center-center blocks to be below the left-center and right-center blocks, you'll have to modify your theme, typically the file themes/-/theme.html.

4
gediminasbyt
Re: Block Settings Problem

Fastian,

Yes, you have to modify your theme, and it's not that hard to do just edit your theme according to Gijoes web site

Gediminas

5
Fastian
Re: Block Settings Problem
  • 2005/11/8 20:29

  • Fastian

  • Not too shy to talk

  • Posts: 156

  • Since: 2005/6/6 0


I am stupid
I tried it and spend about 3 hours. but wasnt able to get it to work :(

Someone please help me. I am using one of 7dana theme. And the code to disply center blocks is

<td id="centercolumn"
          <!-- 
Display center blocks if any -->
          <{if 
$xoops_showcblock == 1}> <table class="sadrzaj" cellspacing="0">
            <
tr
              <
td id="centerCcolumn" colspan="2"
                <!-- 
Start center-center blocks loop -->
                <{foreach 
item=block from=$xoops_ccblocks}> <table align="center" cellpadding="0" cellspacing="2">
                  <
tr
                    <
td> <div class="blockTitle"><{$block.title}></div>
                      <
div class="blockContent"><{$block.content}></div></td>
                  </
tr>
                </
table>
                <{/foreach}> 
                <!-- 
End center-center blocks loop -->
              </
td>
            </
tr>
            <
tr
              <
td id="centerLcolumn"
                <!-- 
Start center-left blocks loop -->
                <{foreach 
item=block from=$xoops_clblocks}> <table class="blok" align="center" cellpadding="3" cellspacing="2">
                  <
tr
                    <
td> <div class="blockTitle"><{$block.title}></div>
                      <
div class="blockContent"><{$block.content}></div></td>
                  </
tr>
                </
table>
                <{/foreach}> 
                <!-- 
End center-left blocks loop -->
              </
td>
              <
td id="centerRcolumn"
                <!-- 
Start center-right blocks loop -->
                <{foreach 
item=block from=$xoops_crblocks}> <table class="blok" align="center" cellpadding="3" cellspacing="2">
                  <
tr
                    <
td> <div class="blockTitle"><{$block.title}></div>
                      <
div class="blockContent"><{$block.content}></div></td>
                  </
tr>
                </
table>
                <{/foreach}> 
                <!-- 
End center-right blocks loop -->
              </
td>
            </
tr>
          </
table>
          <{/if}> 
          <!-- 
End display center blocks -->
I m not a Programmer
BUT
I m a Good Learner

6
Fastian
Re: Block Settings Problem
  • 2005/11/9 17:50

  • Fastian

  • Not too shy to talk

  • Posts: 156

  • Since: 2005/6/6 0


Anyone Please help me here

I need to do this urgently but not know how.
I tried but cant so this forum is my only hope.
I m not a Programmer
BUT
I m a Good Learner

7
gediminasbyt
Re: Block Settings Problem

Have you tried to modify your theme according to Gijoe?

Try to remove all center blocks and just paste Gijoes code in by replacing it.

Any problems?

Gediminas

8
Fastian
Re: Block Settings Problem
  • 2005/11/10 13:29

  • Fastian

  • Not too shy to talk

  • Posts: 156

  • Since: 2005/6/6 0


It doesnt look to be difficult to replace the centre block code BUT it doesnt work for me.

It shows in the same order Plus i lose the way it looks before. I mean the colour of block title changes.

I dont know much of css & html stuff thats why i ask for help. May be the theme i am using uses a different style.css than the one for which Gijoes has written code.

But whats the difference. I dont know.

Help me please.
I m not a Programmer
BUT
I m a Good Learner

9
Fastian
Re: Block Settings Problem
  • 2005/11/13 17:11

  • Fastian

  • Not too shy to talk

  • Posts: 156

  • Since: 2005/6/6 0


Hi again

I really tried everything that i could understand. But i dont know why it doesnt work for me.

By changing the code, the center blocks doesn't look the same (colour changes) plus the ceneter blocks stays above the center-left and center-right block.

Someone please help me, i have opened the site and i want to add few blocks but with this thing i cant. So i m really waiting for your help.

I am using 7dana Xred theme.

May be its coz of theme but i dont have ither opition right now. So Please Help Me
I m not a Programmer
BUT
I m a Good Learner

10
Bananadude
Re: Block Settings Problem
  • 2005/11/15 12:18

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


maybe this is a n00b question =p but shouldent you have the newsblock and wallpapers block in the same block (not weight) to get it?
[edit:] sorry, got *cunfused* ..it's the Wallpaper-block that shall be under the custom-block Lates Headlines
--- censored by Bananadude ---

Login

Who's Online

152 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 152


more...

Donat-O-Meter

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

Latest GitHub Commits