Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Cerberus 1.1RC3 adjusting menu for additional buttons

Aloittaja FinsandFur, lokakuu 11, 2006, 12:44:06 AP

« edellinen - seuraava »

FinsandFur

I have found and read the How to add tabs to Core (NDT)? thread but my problem goes beyond that.

The mod I'm trying to install (Staff Page) puts a button in the top menu....on the default theme.
I am doing this manually because I'm using the Cerberus 11rc3 theme, but upon adding this to the IndexTemplate;
// the [staff list] button
if ($context['allow_view_stafflist'])
echo ($current_action == 'staff' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'staff' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=staff">' , $txt['smfstaff_stafflist']  , '</a>
</td>' , $current_action == 'staff' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



It throws it way off to the right, (regardless of what button I insert it after) and then it moves a previous button or two above them in a different row.

Looking for some help on how to render this.

I manually added this mod, a static page mod and a contact page mod, to the prior Cerberus 1.0.8 version with no problems, and added the buttons to the menu myself. But this 11rc3 of Cerverus has got me boggled.

Advertisement: