1
SlickRick
Enable blocks on certain pages only?
  • 2004/12/13 2:34

  • SlickRick

  • Just popping in

  • Posts: 4

  • Since: 2004/12/13


Hi Guys,
I have a custom block which I want to appear only when a person is inside a particular page inside the forum. I want this block to only be visible when the user is replying to a post. I knows XOOPS has the ability to limit a block's visibility to a module, so I am thinking I need to write a little code. Could anyone give me any ideas? Is there a particular variable I would use that would tell me I am in .../modules/newbb/reply.php ... ?



2
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?



3
SlickRick
Re: Jamroom-like Module for Music Artists to make profiles and music uploads
  • 2004/12/13 1:36

  • SlickRick

  • Just popping in

  • Posts: 4

  • Since: 2004/12/13


Hi Dan and everyone,
How is the Jamroom-like module coming? It sounds like an interesting project.



4
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?




TopTop



Login

Username:
Password:

Lost Password? Register now!

Who's Online

74 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 74


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