News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Pick Themes 8: Undefined index: title

Started by searchgr, December 02, 2011, 03:13:41 PM

Previous topic - Next topic

Kays

Don't think so. The code there looks good.

BTW if you do wish to hide a button, just change "show" to false rather than deleting the code for it..

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Kays

Hi, I just came up with something which might rectify this. If it's still a problem. :)

In Subs.php look for:


$context['menu_buttons'][$current_action]['active_button'] = true;


And change it to:


if (isset($context['menu_buttons'][$current_action]))
$context['menu_buttons'][$current_action]['active_button'] = true;

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

LakeXeno

Now for some humor, I was about to say "it's cause you have *** in your URL." Then I realized it was letters replaced...  O:)

Advertisement: