removing image under the navbar on main page?

Use this forum to ask questions about how to do things in GuMax skin.
User avatar
odoturgeon
Rank 0
Rank 0
Posts: 1
Joined: October 6th, 2009, 12:02 am

Re: removing image under the navbar on main page?

Post by odoturgeon »

It worked for me! Thank you... I've been waiting to have this fix for a week now. ;)
User avatar
panikhaa987
Rank 0
Rank 0
Posts: 1
Joined: November 24th, 2009, 6:22 am

Re: removing image under the navbar on main page?

Post by panikhaa987 »

I remove the other logo too? The smaller rectangle one in top right. I'd like to recapture that space for what I consider the more important part of my page. I don't have any good images for there anyway!
User avatar
PieterMC
Rank 0
Rank 0
Posts: 2
Joined: November 19th, 2009, 12:49 pm

Re: removing image under the navbar on main page?

Post by PieterMC »

I removed that image and moved the content area up, but I have a problem now.

When I hover over a menu item some of the text in the content area "jumps". Does anybody have any idea as to why this happens? It happens in Firefox and IE.
User avatar
marcelu
Rank 0
Rank 0
Posts: 2
Joined: November 28th, 2009, 4:41 am

Re: removing image under the navbar on main page?

Post by marcelu »

Is there any way to prevent not logged users to see the main page image? I'm using Media Wiki 1.15.1 with GumaxDD 1.1 for a University Research Project and everything is closed to not registered users because it has to do with real children and education videos, so privacy is very important. But when you are not logged in you still can see the big image on the main page. Is there any way to modify the function articlePictureBox() so the wiki parser sees it as wiki content?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: removing image under the navbar on main page?

Post by Paul »

Yes, it is a simple modification.

Open GuMaxDD.php and find articlePictureBox(), add

Code: Select all

if( $this->data['loggedin'] ) {
    ...
}
User avatar
marcelu
Rank 0
Rank 0
Posts: 2
Joined: November 28th, 2009, 4:41 am

Re: removing image under the navbar on main page?

Post by marcelu »

That worked! Thanks for this fantastic skin and flv plugin!
User avatar
AAadvisor
Rank 1
Rank 1
Posts: 7
Joined: January 6th, 2010, 8:28 pm

Re: removing image under the navbar on main page?

Post by AAadvisor »

Is there a way to hide the articlepicture box in the standard Gumax version for users who are not logged in?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: removing image under the navbar on main page?

Post by Paul »

You need to edit the GuMax.php, add login check for article picture section....
User avatar
veventoangel
Rank 0
Rank 0
Posts: 1
Joined: February 26th, 2010, 6:59 am

Re: removing image under the navbar on main page?

Post by veventoangel »

thank you to all member for sharing this
Post Reply