1
natxocc
block visible in all pages!
  • 2005/2/7 22:55

  • natxocc

  • Just popping in

  • Posts: 19

  • Since: 2005/1/23


Sorry about post it here, but I have a blank page at dev.xoops.org and I can't access to it.

I'm developing a new block. By default, this block is only visible at home page. If I change it (other page like my profile) the block dissapear. If I go to admin, blocks, edit, visible at "all" it works correctly (by default it was at "top page")

Is there an option to install the block to see in all pages?
Changing a variable at xoops_version.php probably?

I need that after installing the block it would be accessible from any page.

Thanks.

2
m0nty
Re: block visible in all pages!
  • 2005/2/7 23:40

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


you're building a block? y do you need a xoops_version.php

creating a custom block is all that should be needed.. and they can be made visible to all by selecting 'all pages' in the selection block where you choose the pages..

the FAQ section might be a good place to start

3
natxocc
Re: block visible in all pages!
  • 2005/2/7 23:52

  • natxocc

  • Just popping in

  • Posts: 19

  • Since: 2005/1/23


well, I made a module but only a block is displayed (in future it will have a admin section).

It is almost finished (see some images):

When connected:
Resized Image

When no connected:
Resized Image

(NOTE: They are images in http://localhost. In a server it appears the flag from you are...)

My problem is when I install the module, by default it only is visible at home page. I want it would be visible in all pages by default. Probably I must add a variable in my xoops_version.php to do it.

Well I don't know.

Thanks.

4
natxocc
Re: block visible in all pages!
  • 2005/2/8 18:37

  • natxocc

  • Just popping in

  • Posts: 19

  • Since: 2005/1/23


no help?...

5
carnuke
Re: block visible in all pages!
  • 2005/2/8 18:48

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


If you make a block, it should have a name and an ID and it will show in Blocks in admin, Correct?

If so, go to admin>blocks admin click edit for this block you made and in the drop down pages menu make it visible in all pages.

6
natxocc
Re: block visible in all pages!
  • 2005/2/8 19:02

  • natxocc

  • Just popping in

  • Posts: 19

  • Since: 2005/1/23


Quote:

carnuke wrote:
If you make a block, it should have a name and an ID and it will show in Blocks in admin, Correct?


Yes, correct.

Quote:

If so, go to admin>blocks admin click edit for this block you made and in the drop down pages menu make it visible in all pages.


Yes, I do it and it works but my question is different.
When I install the module, BY DEFAULT it only is seeing in "top page" (home page). I want that when I install the module, by default the block could be see in all pages. It's possible?

Thanks.

7
carnuke
Re: block visible in all pages!
  • 2005/2/8 19:13

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Ok I undersdtand you question now
Answer, I don't know if it's possible

Do you know a module that makes a block by defaults visible in all pages?

If so, take a look in xoops_version.php and see how this may be accomplished.

Login

Who's Online

446 user(s) are online (334 user(s) are browsing Support Forums)


Members: 0


Guests: 446


more...

Donat-O-Meter

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

Latest GitHub Commits