TinyPortal

Development => Support => Topic started by: lish425 on June 07, 2007, 01:39:42 AM

Title: Easy way to hide blocks on certain pages?
Post by: lish425 on June 07, 2007, 01:39:42 AM
I can't remember how I did it on my other site and I have been searching for quite a while.  I wish I could remember how I did it.  I would like to hide blocks on the search, login, and register pages.  I know there was a thread sometime ago about how to do it but I can't find it.

The site in my signature was the one I was able to remove them.  Not sure that helps though.
Title: Re: Easy way to hide blocks on certain pages?
Post by: IchBin on June 07, 2007, 04:14:42 AM
An easy way would be for you to open all of the the search.php, login.php, and register.php from the Sources directory and add this line just below the first line that starts with the word global.

tp_hidebars();

This will hide all the blocks including left/right/center etc.
Title: Re: Easy way to hide blocks on certain pages?
Post by: lish425 on June 07, 2007, 05:12:45 AM
Thanks so much, the support here is excellent. :)
Title: Re: Easy way to hide blocks on certain pages?
Post by: Teck on April 09, 2008, 09:05:47 AM
Tnx very much!
I was searching a solution and with this was really easy!!

Tnx again! :D