Difference between revisions of "How-Tos"

From Tweeki
Jump to: navigation, search
(Created page with "== Navigation == === Show navigation or parts of it only for logged in users === add the Navigational Element you want to hide for anonymous users to the <code>$wgTweeki...")
 
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 Element]] you want to hide for anonymous users to the <code>$wgTweekiSkinHideAnon</code> array in LocalSettings.php, e.g.
+
add the [[Navigational 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 12:35, 10 February 2015

Navigation

Show navigation or parts of it only for logged in users

add the Navigational Elements you want to hide for anonymous users to the $wgTweekiSkinHideAnon array in LocalSettings.php, e.g.

$wgTweekiSkinHideAnon = array( 'navbar' );