Is there a way to hide certain links from every one else except the webmasters?
For example, i want every one/anonymous users to view my Agendax calendar and events.But i don't want them to add a new event..So i have to hide the "Post a new event link" in minical and "Add a event" in agendax page..
I tried the following in minical.php
if ($isadmin) {
$block['postNewEvent'] = '<a href="'.XOOPS_URL.'/modules/agendax/index.php?op=eventform"><small>'._AGX_POSTANEWEVENT.'</small></a>';
}
It hides the "Post a new event link". But it hides for the admin user too.. Is there a way we can work around this?
Thanks,
Ann