TinyPortal

Development => International => Topic started by: wizzy on February 24, 2007, 10:14:33 AM

Title: Remove left blocks on mod admin area
Post by: wizzy on February 24, 2007, 10:14:33 AM
Hi.

I don't know if this is the correct secton to post about the issue

I have TP 0.9.7 and I have installed mods like gallery and advertise. The problem is that in all admin area the left column of block is not shown but it is shown on the specific mods and I want to remove them.

For example

The first attached picture is the admin area of TP.
On the second picture you will see the left column that I want to be removed ( the second picture is the gallery mod admin area )

Title: Re: Remove left blocks on mod admin area
Post by: JPDeni on February 24, 2007, 04:00:31 PM
In TinyPortal Settings, select Yes for Hide panels when in admin section?.
Title: Re: Remove left blocks on mod admin area
Post by: IchBin on February 24, 2007, 08:47:09 PM
I think that is because you're not "actually" in the admin panel. You're in the gallery admin which I think is defined differently. You'll probably have to do something similar to this modification to get it to work.

http://www.tinyportal.net/index.php?topic=13031.msg108852#msg108852
Title: Re: Remove left blocks on mod admin area
Post by: wizzy on February 26, 2007, 12:25:33 PM
Well I believe that the left column is called by the gallery.php. Does anyone know the specific procedure that calls the left column ?
Title: Re: Remove left blocks on mod admin area
Post by: wizzy on February 26, 2007, 12:26:00 PM
Quote from: JPDeni on February 24, 2007, 04:00:31 PM
In TinyPortal Settings, select Yes for Hide panels when in admin section?.

It is already in YES :(
Title: Re: Remove left blocks on mod admin area
Post by: IchBin on February 26, 2007, 09:06:28 PM
Actually, the column is called by index.template.php. The reason its not turning off is because action=gallery is not defined in TinyPortal.
Title: Re: Remove left blocks on mod admin area
Post by: wizzy on March 07, 2007, 08:18:38 AM
I can't understand much from the link you gave me before.
Is there another way to correct this ?
Title: Re: Remove left blocks on mod admin area
Post by: IchBin on March 08, 2007, 12:09:48 AM
Nope. You can't hide them unless you add the custom action to the files. All the info is in that link I gave you. What don't you understand? Please post in that thread if you have further questions.