Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/05/2010, 14:55
Bee
 
Fecha de Ingreso: mayo-2010
Mensajes: 1
Antigüedad: 14 años
Puntos: 0
Ayuda con la posicion de mi menu

MMM.. NECESITO AYUDA CON MI MENU POR FA QUE NO PUEDO COLOCARLO
EN MI INDEX.PHP APARECE ESTO QUE LLAMA AL MENU ..
<head>
<jdoc:include type="head" />
<?php
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/menu.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/gk_head.php');
?>


Y AL IR A ESE ARCHIVO APARECE ESTO

// no direct access
defined('_JEXEC') or die('Restricted access');

$document = &JFactory::getDocument();
$renderer = $document->loadRenderer( 'module' );
$options = array( 'style' => "raw" );
$module = JModuleHelper::getModule( 'mod_mainmenu' );
$main_navigation = false;

$menu_name = $this->params->get("menuname", "mainmenu");
$mtype = $this->params->get("menutype", "moomenu");

if($mtype == "moomenu" or $mtype == "suckerfish") :
$module->params = "menutype=$menu_name\nshowAllChildren=1";
$main_navigation = $renderer->render( $module, $options );
else :
$module->params = "menutype=$menu_name\nshowAllChildren=0";
$main_navigation = $renderer->render( $module, $options );
endif;

?>


YO CREE UN MODULO DE MENU LLAMADO MENUFINAL QUE ES DROPLINE HORIZONTAL Y QUIERO PONERLO EN LA MISMA POSICION DEL ACTUAL PERO SU UBICACION NO APARECE EN LAS OPCIONES PARA COLOCARLO.. YA QUE ESTA INCLUDO DIRECTAMENTE EN EL INDEX.PHP..


REEMPLACE EL MOD_MAIN MENU POR MI MOD_MENUFINAL.. ME APARECE PERO NO ME DA EL EFECTO DE DROPLINE Y NO SE VEN LOS SUBMENUS..
QUE PUEDE ESTAR MALO..???
OJALA ME PUEDAN AYUDAR..
aqui les dejo el codigo que debo borrar que no corrresponde..
ojala me puedan ayudar..

LO DEJE ASI...

// no direct access
defined('_JEXEC') or die('Restricted access');

$document = &JFactory::getDocument();
$renderer = $document->loadRenderer( 'module' );
$options = array( 'style' => "raw" );
$module = JModuleHelper::getModule( 'mod_menufinal' );
$main_navigation = false;

$menu_name = $this->params->get("menuname", "mainmenu");
$mtype = $this->params->get("menutype", "moomenu");

if($mtype == "moomenu" or $mtype == "suckerfish") :
$module->params = "menutype=$menu_name\nshowAllChildren=1";
$main_navigation = $renderer->render( $module, $options );
else :
$module->params = "menutype=$menu_name\nshowAllChildren=0";
$main_navigation = $renderer->render( $module, $options );
endif;

?>



ojala me puedan ayudar o sino decir como posicionar mi menu en el mismo lugar actual que no aparece en el administrator como posicion

OJALA ME PUEDAN AYUDAR