Cant hide edit link for user not logged in
Posted: May 30th, 2008, 2:36 am
Hi
I am appreciate if someone can help me with this issue
I have tried everything but it not working.
I want to hide the edit tab(link) for user that not logged in
I went thru all the helps, google and non of them seems working the way i wanted
#ca-edit { display: none; } not working
$wgDefaultUserOptions ['editsection'] = 0; not working
$wgDefaultUserOptions ['editsection'] = false; not working
$wgGroupPermissions['*']['edit'] = false; show view source link instead of edit link and wont allow to edit
----------------
<?php if(!$this->data['loggedin']) { ?>
<style>
.editsection { display: none; }
</style>
<?php } ?>
----------------
thanks
I am appreciate if someone can help me with this issue
I have tried everything but it not working.
I want to hide the edit tab(link) for user that not logged in
I went thru all the helps, google and non of them seems working the way i wanted
#ca-edit { display: none; } not working
$wgDefaultUserOptions ['editsection'] = 0; not working
$wgDefaultUserOptions ['editsection'] = false; not working
$wgGroupPermissions['*']['edit'] = false; show view source link instead of edit link and wont allow to edit
----------------
<?php if(!$this->data['loggedin']) { ?>
<style>
.editsection { display: none; }
</style>
<?php } ?>
----------------
thanks