SimplePortal
Support => English Support => Topic started by: inter on April 07, 2012, 09:58:10 AM
-
See the picture
http://simpleportal.net/index.php?action=forum
how to make that link led to the home page and not on the forum page?
-
Link bahavior left that way pointing to forum:
http://simpleportal.net/index.php?topic=3834.msg
If the answer there is satisfactory please marked it solved for us :)
-
Link bahavior left that way pointing to forum:
http://simpleportal.net/index.php?topic=3834.msg
If the answer there is satisfactory please marked it solved for us :)
Thanks! :nervous-happy:
I'm a little touched up the code:
if ($modSettings['sp_portal_mode'] == 1)
$context['linktree'][0] = array(
'url' => $scripturl . '?action=forum',
'name' => $context['forum_name'],
);
global $board, $topic;
if ($modSettings['sp_portal_mode'] == 1)
{
if ((!empty($_REQUEST['action']) and $_REQUEST['action'] == 'forum') or !empty($board) or !empty($topic))
{
array_unshift($context['linktree'], array(
'url' => $scripturl,
'name' => $context['forum_name_html_safe'],
));
$context['linktree'][1] = array(
'url' => $scripturl . '?action=forum',
'name' => $txt['sp-forum'],
);
}
else
$context['linktree'][0] = array(
'url' => $scripturl,
'name' => $context['forum_name_html_safe'],
);
}
-
I hope you all won't mind that I split off the topic about the potential virus on igirisjin's site: http://simpleportal.net/index.php?topic=11047.0
Inter -- did this fix your problem?