TinyPortal

Development => Support => Topic started by: Gararion on July 30, 2007, 12:39:12 AM

Title: Show Block on Every Page but Calandar Possible?
Post by: Gararion on July 30, 2007, 12:39:12 AM
Just as the title says.

Is it possible to show the block on every page other then the Calendar Page?

Right now I have it so it only shows on the Forum main page through the option:  Show for this action
(custom action name)


But what I want is that it would show on all the normal pages like it does default, but not show up on the Calendar Page.  Reason, it causes the page to scroll which I dislike.
Title: Re: Show Block on Every Page but Calandar Possible?
Post by: IchBin on July 30, 2007, 12:53:30 AM
This option is currently not available until the next release of TP which is quite a ways out yet. You could how ever use a custom block with some PHP code to achieve this effect if you'd like.
Title: Re: Show Block on Every Page but Calandar Possible?
Post by: Gararion on July 30, 2007, 06:06:08 AM
How would I do this with php?
Title: Re: Show Block on Every Page but Calandar Possible?
Post by: G6Cad on July 30, 2007, 09:06:07 AM
You can use a workaround. But it will remove ALL blocks from showing up when you browse to the calendar page.

Open up the calendar.php in the Sources directory and add tp_hidebars(); right under the first global statment.
Title: Re: Show Block on Every Page but Calandar Possible?
Post by: Gararion on July 30, 2007, 03:15:00 PM
thanks, worked perfectly!!!