1
suyog
Enable blocks on certain pages only?
  • 2004/12/2 21:07

  • suyog

  • Just popping in

  • Posts: 9

  • Since: 2004/9/6 1


I am using XOOPS 2.0.7 and mySQL version 4.3 with these packages - newbb, system, myReview and the regular ones.

I just had a simple question - is there a way to limit visibility of Blocks to certain pages only unlike for a whole module?

For example, on my site I have a block "categories" which I have enabled for module "myReviews" - is there a way I can enable block for only one file within myReviews folder?

Would this involve some more programming? Has anyone done this before? Can someone post an example how it could be done?!

Thanks a lot guys for all the help in advance!

Suyog

2
SlickRick
Re: Enable blocks on certain pages only?
  • 2004/12/13 0:51

  • SlickRick

  • Just popping in

  • Posts: 4

  • Since: 2004/12/13


I am trying to do this also, but with the forum module. I want to have my smilies appear in a block on the left when the person is typing in a reply but otherwise not be visible. I created a custom php block and right now the smilies appear on the left for every screen in the forum module.

Does anyone know how to do this?

3
jdseymour
Re: Enable blocks on certain pages only?

If I am understanding correctly, what you want to do is go to the block list, to the far right click on edit, now there is a list of your pages. Just hold the Ctrl key and select away.

If that's not what you are asking, sorry.

HTH

4
SlickRick
Re: Enable blocks on certain pages only?
  • 2004/12/13 2:26

  • SlickRick

  • Just popping in

  • Posts: 4

  • Since: 2004/12/13


Hi jdseymour,

Thanks for the quick response! Makes me feel like it is an interesting question. (g)

jdseymour wrote:
> ... go to the block list, to the far right click on edit, now there is a list of your pages....

But I believe you are writing about the blocks/edit/"visible in", then what appears in the drop down list is a list of modules, not individual pages. The forum module has about 4 different pages inside it, and I want my newly modified Smilies block to only appear when a person is replying to a post.

Any other ideas?

Login

Who's Online

337 user(s) are online (302 user(s) are browsing Support Forums)


Members: 0


Guests: 337


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