Difference between revisions of "How-Tos"

From Tweeki
Jump to: navigation, search
Line 3: Line 3:
 
=== Show navigation or parts of it only for logged in users ===
 
=== Show navigation or parts of it only for logged in users ===
  
add the [[Navigational Elements]] you want to hide for anonymous users to the <code>$wgTweekiSkinHideAnon</code> array in LocalSettings.php, e.g.
+
add the [[Navigation|navigational sections and elements]] you want to hide for anonymous users to the <code>$wgTweekiSkinHideAnon</code> array in LocalSettings.php, e.g.
  
 
  $wgTweekiSkinHideAnon = array( 'navbar' );
 
  $wgTweekiSkinHideAnon = array( 'navbar' );

Revision as of 11:40, 10 February 2015

Navigation

Show navigation or parts of it only for logged in users

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' );