SimplePortal
Development => Feature Requests => Topic started by: gamerxgirl on January 27, 2009, 10:47:18 PM
-
I was wondering if it is possible for a site links block to be developed where you can add/remove links to actions, or external urls. Multiple usage of this block would be great.
Thanks!
-
Sounds like a good request. But this requires an advanced menu manager module in SimplePortal. This could be considered for next major releases.
For now, I can suggest creating your menu with PHP or HTML block types.
Example PHP codes for you:
global $context, $scripturl;
echo '
<ul class="normallist">
<li><a href="', $scripturl, '">Home</a></li>
<li><a href="', $scripturl, '?action=forum">Forum</a></li>
<li><a href="', $scripturl, '?action=profile">Profile</a></li>
<li><a href="', $scripturl, '?action=mlist">Members</a></li>
<li><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">Logout</a></li>
</ul>';