Toolbox - printable only for logged user?

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
MarcO
Rank 0
Rank 0
Posts: 1
Joined: February 13th, 2011, 2:28 pm

Toolbox - printable only for logged user?

Post by MarcO »

Hi Paul,
First of all I would like to thank you for your great job, we use the skin GuMax 4.0.1
The Printable version toolbox function is only visible for logged users. Is it easy to make it always visible? in the Mediawiki:Sidebar I added ** printable under *TOOLBOX but it didn't work... TIA.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Toolbox - printable only for logged user?

Post by Paul »

Open GuMax.php

Find this section close to the beginning:

Code: Select all

		<?php if( !$this->data['loggedin'] ) { ?>
			<style type="text/css">
				#gumax-content-actions li#ca-talk,
				#gumax-content-actions li#ca-history,
				#gumax-content-actions li#ca-edit,
				#gumax-personal-tools
				{ display: none; }
			</style>
		<?php } ?>
Replace with this one:

Code: Select all

		<?php if( !$this->data['loggedin'] ) { ?>
			<style type="text/css">
				#gumax-content-actions li#ca-talk,
				#gumax-content-actions li#ca-history,
				#gumax-content-actions li#ca-edit
				{ display: none; }
			</style>
		<?php } ?>
Post Reply