News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Problema con el SimplePortal -SOLUCIONADO-

Started by nosoyelmejor, November 04, 2008, 11:01:26 PM

Previous topic - Next topic

nosoyelmejor

Tengo instalado el SMF v 1.1.6 con el Theme Kozakelebegi y acabo de instalarme el SimplePortal http://custom.simplemachines.org/mods/index.php?mod=1104

Se que tengo cualquier tipo de problema en el index.template.php,

// Show the [home] button.
echo '<li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '">' , $txt[103] , '</a></li>';

// Show the [forum] button.
if(!empty($context['portalactive']))
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action=='forum' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=forum">'.$txt['sp-forum'].'</a>
</td>' , $current_action=='forum' ? '<td class="maintab_active_last"> </td>' : '';


// Show the [help] button.
echo '<li', $current_action == 'help' ? ' id="active"' : '', '><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';

// How about the [search] button?
if ($context['allow_search'])
echo '<li', $current_action == 'search' ? ' id="active"' : '', '><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '<li', $current_action == 'admin' ? ' id="active"' : '', '><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>';


El problema lo podeis ver en esta imagen
http://i225.photobucket.com/albums/dd171/nosoyelmejor/problema1.jpg

Como vereis no me crea el botón del Foro, me hace un salto de linea y me desplaza totalmente las imagenes.
En el menu de administración por ejemplo tengo la barra de menus por un lado y totalmente desplazado a la derecha el resto de la información.

Algún alma caritativa que me pueda ayudar?
Muchas gracias por adelantado.

ccbtimewiz

Find:
   // Show the [forum] button.
   if(!empty($context['portalactive']))
      echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </td>' : '' , '
            <td valign="top" class="maintab_' , $current_action=='forum' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=forum">'.$txt['sp-forum'].'</a>
            </td>' , $current_action=='forum' ? '<td class="maintab_active_last"> </td>' : '';


Replace with:
   // Show the [forum] button.
   if(!empty($context['portalactive']))
       echo '<li', $current_action == 'forum' ? ' id="active"' : '', '><a href="', $scripturl, '?action=forum">' , $txt['sp-forum'] , '</a></li>';

nosoyelmejor


Advertisement: