1
98_Z28
How to create a custom block in a unlisted specified position.
  • 2004/6/3 3:52

  • 98_Z28

  • Just popping in

  • Posts: 17

  • Since: 2004/5/18


Hi, I want to create a custom block. I want the block to be in the center of the page. But whenever I make the block and have it appear in the center, it shows up at the top center. How do I make it appear on the bottom center? Example, if it is on the news page or downloads page, I want the block to appear under the list of news and under the box list of downloads. Anyway I can do that? Thanks for any help.


Jason

2
brash
Re: How to create a custom block in a unlisted specified position.
  • 2004/6/3 4:15

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Have you played around with your block and module weighting? I don't think this will work though. I seem to remember reading about a hack that allows you to put the default module at the top, can't remember though

3
98_Z28
Re: How to create a custom block in a unlisted specified position.
  • 2004/6/3 19:37

  • 98_Z28

  • Just popping in

  • Posts: 17

  • Since: 2004/5/18


Thanks for your reply. I guess there is not a fairly easy way to do it. What does the weight thingy mean anyways? What does it do? Thanks


Jason

4
98_Z28
Re: How to create a custom block in a unlisted specified position.
  • 2004/6/5 2:15

  • 98_Z28

  • Just popping in

  • Posts: 17

  • Since: 2004/5/18


No one has a answer on how to do it? Hopefully something will be done with the next version to allow it.



Jason

5
Stewdio
Re: How to create a custom block in a unlisted specified position.
  • 2004/6/5 2:24

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


You will have to edit your theme.html so that your center block appear on the bottom, not the top. You can not have it both ways with xomse center blocks on the top, and others on the bottom with side centered blocks in the middle or any other configuration.


6
ajaxbr
Re: How to create a custom block in a unlisted specified position.
  • 2004/6/5 5:45

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hmmm...

1st: Do you have any other center blocks?
2nd: If yes, do you want any of them to appear on top?

If you answered 'no' to any of these questions, it's very very easy to do.

All you'd have to do would be:
1st: Go to /themes/ and create a copy of the /defaut folder with a nice name ("faulty" is cute)
2nd: Open /themes/faulty/theme.html in notepad
3rd: Find the lines that have "<!-- Display center blocks if any -->" and "<!-- End display center blocks -->", select them and everything between, cut...
4th: Find this (right below "<!-- End display center blocks -->"... was)
<div id="content">
          <{
$xoops_contents}>
        </
div>
      </
td>

5th: Paste all that you had cut right after the "</div>" AND before the "</td>".
That should do it.

If that's not the case, please describe better what you want and what you have

7
98_Z28
Re: How to create a custom block in a unlisted specified position.
  • 2004/6/6 16:22

  • 98_Z28

  • Just popping in

  • Posts: 17

  • Since: 2004/5/18


Thankyou very much for your help. Hopefully I will have time this evening to do what you said. Thanks alot :)


Jason

Login

Who's Online

168 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 168


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