Tiny preferences window!

If you are having problems with GuMax, post here.
Post Reply
User avatar
daj
Rank 0
Rank 0
Posts: 4
Joined: January 16th, 2011, 3:17 pm

Tiny preferences window!

Post by daj »

Hi,

I have just installed the GuMaxVN 2.0 theme on version 1.61 of MediaWiki. The Wiki installation is brand new and has had no other customisation.

When I go into user preferences (Special:Preferences) the text is absolutely tiny. See attached screen shot :o
UserPreferences.png
UserPreferences.png (50.56 KiB) Viewed 5298 times
I have tried it on FireFox, Chrome 8 and Safari -- all for the Mac

HELP!

Thanks

David
User avatar
daj
Rank 0
Rank 0
Posts: 4
Joined: January 16th, 2011, 3:17 pm

Re: Tiny preferences window!

Post by daj »

I did a little bit of rooting around and it seems to be inheriting a "font-size:0" from the visualClear class in the gumax_template.css

If I remove the font-size from the css, the preferences screen is fixed.

I'm just not sure if this will impact on anything else -- so far I have not found anything but will update here if it does
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Tiny preferences window!

Post by Paul »

Hi David, thanks for quick response... I'm just about to looking into it and it does break on new mediawiki... let me try your fix :)
User avatar
daj
Rank 0
Rank 0
Posts: 4
Joined: January 16th, 2011, 3:17 pm

Re: Tiny preferences window!

Post by daj »

Paul

In the end I had to look at alternative Skins as the one I implemented from you seemed to be missing some of the features of the core skins. The Toolbox, for example, never builds and a look through the PHP suggests it was removed from your skin.

Is there a reason for that?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Tiny preferences window!

Post by Paul »

Nothing is removed...

The toolbar is hidden from non registered users, the suggests was never in any mediawiki skin, I use gumax skin on paulgu.com and it works..........
User avatar
daj
Rank 0
Rank 0
Posts: 4
Joined: January 16th, 2011, 3:17 pm

Re: Tiny preferences window!

Post by daj »

This is the code in guMaxVN skin..

Code: Select all

<!-- Navigation Menu -->
    <div id="gumax-p-navigation">
        <?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
            <div class='gumax-portlet'>
                <h5><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></h5>
                    <ul>
                        <?php foreach($cont as $key => $val) { ?>
                            <li id="<?php echo htmlspecialchars($val['id']) ?>"<?php
                            if ( $val['active'] ) { ?> class="active" <?php }
                            ?>><a href="<?php echo htmlspecialchars($val['href']) ?>"><?php echo htmlspecialchars($val['text']) ?></a></li>
                        <?php } ?>
                    </ul>
            </div>
        <?php } ?>
    </div>
    <!-- end of Navigation Menu -->
If you look in the same section on the Monobook skin, you see code to check for each section and call the functions

Code: Select all

foreach ($sidebar as $boxName => $cont) {
			if ( $boxName == 'SEARCH' ) {
				$this->searchBox();
			} elseif ( $boxName == 'TOOLBOX' ) {
				$this->toolbox();
			} elseif ( $boxName == 'LANGUAGES' ) {
				$this->languageBox();
			} else {
				$this->customBox( $boxName, $cont );
			}
		}
I don't see similar code in your skin.

Here is a screen shot of me logged in using your skin -- there are no options under Toolbox

Perhaps I mis-understand how your skin builds the toolbox, but it is not showing when I am logged in :(
Attachments
toolbox.png
toolbox.png (11.4 KiB) Viewed 5261 times
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Tiny preferences window!

Post by Paul »

The toolbar is located on the top-right.

The item in the left-bar is useless, remove them and add your own items.
User avatar
paulwalker_92
Rank 1
Rank 1
Posts: 9
Joined: July 10th, 2011, 8:47 am

Re: Tiny preferences window!

Post by paulwalker_92 »

Well this works for me.... thanks Paul
I am Paul Walker and I Love 2 learn
Post Reply