Re: New menu arrangement: Community - Staff - Personal
Reply #51 –
Ok, fair enough. Hey how about we add in an option for separators in the array? That way they could be put anywhere, and wouldn't have to rely on targeting the subsections class. That'd be more useful than the old last stuff. Something like:
'profile' => array(
'title' => $txt['profile'],
'href' => $scripturl . '?action=profile',
'show' => $context['allow_edit_profile'],
'divider' => true,
'sub_buttons' => array(
Then that adds a class in the template for css targeting. Would be best if it could be just left out of the array if false. That would make life a little easier.