How do i hide My Talk, My Watchlist,My Contributions?

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
kevindanko
Rank 6
Rank 6
Posts: 31
Joined: April 1st, 2009, 11:10 am

How do i hide My Talk, My Watchlist,My Contributions?

Post by kevindanko »

Im trying to hide these elements however cannot figure out how to do so, im using GuMaxDD
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by Paul »

Add tag li#ca-talk, li#ca-history, etc in file gumax_template.css with "display: none".

For example:

Code: Select all

li#ca-talk, li#ca-history { display: none; }
The tag name can be found by viewing html source code...
User avatar
kevindanko
Rank 6
Rank 6
Posts: 31
Joined: April 1st, 2009, 11:10 am

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by kevindanko »

sorry, i meant to hide the p-actions. i want to hide everything on p-login except for the login and logout.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by Paul »

I'm little bit confused here...

For hiding p-action except login, then this is a setting is in LocalSettings.php:

Code: Select all

$wgShowIPinHeader = false;
Do you want to hide the rest of menus after login? :?
User avatar
kevindanko
Rank 6
Rank 6
Posts: 31
Joined: April 1st, 2009, 11:10 am

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by kevindanko »

I want to hide everything except my username (After login) my preferences and the Log Out button.

Here is what i want:

Image
http://tinypic.com/r/au6qna/3
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by Paul »

OK... here you go...

Add css code below in gumax_template.css file:

Code: Select all

pt-mytalk, pt-preferences, pt-watchlist, pt-mycontris {
    display: none;
}
This should the work...
User avatar
kevindanko
Rank 6
Rank 6
Posts: 31
Joined: April 1st, 2009, 11:10 am

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by kevindanko »

That did not work.

I would like to seperate the Login/Logoff/IP element from the other elements - My Talk, My Preferences, My watchlist My Contributions Logout like this:

This mockup was done in MsPaint however this is what i want and i don't know how to do it!

Image


Im basically looking for more control over these elements.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by Paul »

Well... I'm not sure what changes you've done to the skin.

Simple way, viewing the source code of the html page after you login, then find the div tab id name of each one, put them in CSS file with display: none.
User avatar
kevindanko
Rank 6
Rank 6
Posts: 31
Joined: April 1st, 2009, 11:10 am

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by kevindanko »

There is no Div id for them, only an li id
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How do i hide My Talk, My Watchlist,My Contributions?

Post by Paul »

I'm not sure until I can check the source code of the html page... you can check and make change, it's not hard to do.
Post Reply