Difference between revisions of "How-Tos"

From Tweeki
Jump to: navigation, search
Line 7: Line 7:
 
  $wgTweekiSkinHideAnon = array( 'navbar' );
 
  $wgTweekiSkinHideAnon = array( 'navbar' );
  
=== Add links to the standard sections in the footer ===
+
=== Add links to the footer ===
  
use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms]
+
You can either use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms] or you can add your own link or any [[Navigation|navigational section or element]] by placing it in [[Mediawiki:Tweeki-footer]].

Revision as of 16:29, 10 February 2015

Navigation

Show navigation or parts of it only for logged in users

Just add the navigational sections and elements you want to hide for anonymous users to the $wgTweekiSkinHideAnon array in LocalSettings.php, e.g.

$wgTweekiSkinHideAnon = array( 'navbar' );

Add links to the footer

You can either use Mediawiki's default mechanisms or you can add your own link or any navigational section or element by placing it in Mediawiki:Tweeki-footer.