Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 993
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Cannot add new menu item

Started by SpeedHighway, November 05, 2013, 12:42:45 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

SpeedHighway

I have recently installed SimplePortal on a new board.  I'm trying to add a simple menu item to the Subs.php file.  However, when I do so, I get a 500 error on the forum, EVERY time. 

I've had to Ctrl Z to restore my file in order to keep the forum running, but I've tried about 10 different tweaks on this to try and get it to work. 

It seems EXTREMELY straight forward, but it NEVER works.  I just get a white page everytime I add it to the subs.php.

'serverlist' => array(
'title' => 'Our Game Servers',
'href' => $scripturl . '?page=gameserverlist',
'show' => true
'sub_buttons' => array(
),
),


The end result looks like this, so you can see I didn't mess with anything prior or post.

'forum' => array(
'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
'href' => $scripturl . ($modSettings['sp_portal_mode'] == 1 && empty($context['disable_sp']) ? '?action=forum' : ''),
'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)) && empty($context['disable_sp']),
'sub_buttons' => array(
),
),
'serverlist' => array(
'title' => 'Our Game Servers',
'href' => $scripturl . '?page=gameserverlist',
'show' => true
'sub_buttons' => array(
),
),
'help' => array(
'title' => $txt['help'],
'href' => $scripturl . '?action=help',
'show' => true,
'sub_buttons' => array(
),
),


Does anyone have any other ideas for me to try?

Burke Knight


SpeedHighway

I will definitely try, but when I've seen this question during my research, people were always directed here if they were using SP. 
If not that, then they just link to the guide on creating the menu items.  As you can see, I'm aware of those instructions.

Thanks anyways.