SimplePortal

Development => Feature Requests => Topic started by: gamerxgirl on January 27, 2009, 10:47:18 PM

Title: Site Links Block/Navigation
Post 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!
Title: Re: Site Links Block/Navigation
Post by: [SiNaN] on February 02, 2009, 04:39:23 AM
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:

Code: [Select]
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>';
SimplePortal 2.3.8 © 2008-2024, SimplePortal