Diseño y Posicionamiento Web con Joomla › Foros › Templates Joomla › Templates Joomla 1.5 › No puedo insertar un codigo html en el index.php
- Este debate tiene 2 respuestas, 2 mensajes y ha sido actualizado por última vez el hace 13 años, 10 meses por
Anónimo.
-
AutorEntradas
-
-
17/05/2011 a las 13:50 #98810
Anónimo
InvitadoHola,
Estoy intentando insertar un codigo html en una plantilla de gavick y no encuentro la etiqueta (body) en la paginas index.php, alguien tiene alguna idea de como solucionar este problema?
———————————————————————————————-
Codigo HTML:
———————————————————————————————-
Pagina PHP:
defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );
include_once (dirname(__FILE__).DS.’libs’.DS.’gk.template.helper.php’);
$tmpl = GKTemplateHelper::getInstance($this, array(‘ui’, GK_TOOL_SCREEN, GK_TOOL_MENU, ‘main_layout’, ‘direction’));
//Calculate the width of template
$tmplWidth = ”;
$tmplWrapMin = ‘100%’;
switch ($tmpl->getParam(GK_TOOL_SCREEN)){
case ‘auto’:
$tmplWidth = ‘97%’;
break;
case ‘fluid’:
$tmplWidth = intval($tmpl->getParam(‘gk_screen-fluid-fix-gk_screen_width’));
$tmplWidth = $tmplWidth ? $tmplWidth.’%’ : ‘90%’;
break;
case ‘fix’:
$tmplWidth = intval($tmpl->getParam(‘gk_screen-fluid-fix-gk_screen_width’));
$tmplWrapMin = $tmplWidth ? ($tmplWidth+1).’px’ : ‘771px’;
$tmplWidth = $tmplWidth ? $tmplWidth.’px’ : ‘770px’;
break;
default:
$tmplWidth = intval($tmpl->getParam(GK_TOOL_SCREEN));
$tmplWrapMin = $tmplWidth ? ($tmplWidth+1).’px’ : ‘983px’;
$tmplWidth = $tmplWidth ? $tmplWidth.’px’ : ‘982px’;
break;
}$tmpl->setParam (‘tmplWidth’, $tmplWidth);
$tmpl->setParam (‘tmplWrapMin’, $tmplWrapMin);//Main navigation
$gk_menutype = $tmpl->getMenuType();
$gkmenu = null;
if ($gk_menutype && $gk_menutype != ‘none’) {
$gkparams = new JParameter(”);
$gkparams->set( ‘menutype’, $tmpl->getParam(‘menutype’, ‘mainmenu’) );
$gkparams->set( ‘menu_images_align’, ‘left’ );
$gkparams->set( ‘menupath’, $tmpl->templateurl() .’/gk_menus’);
$gkparams->set(‘menu_images’, 1); //0: not show image, 1: show image which set in menu item
$gkparams->set(‘menu_background’, 1); //0: image, 1: background
$gkparams->set(‘mega-colwidth’, 200); //Megamenu only: Default column width
$gkparams->set(‘mega-style’, 1); //Megamenu only: Menu style.
$gkparams->set(‘rtl’,($tmpl->getParam(‘direction’)==’rtl’ || $tmpl->direction == ‘rtl’));
$gkmenu = $tmpl->loadMenu($gkparams, $gk_menutype);
}
//End for main navigation$layout = $tmpl->getLayout ();
if ($layout) {
$tmpl->display($layout);
}———————————————————————————————-
Saludos,
-
17/05/2011 a las 18:09 #98820
lorena
ParticipanteBueno eso es que Gavick no suele poner ahi la etiqueta body, prueba a ver si tienes un archivo llamado components.php deberia de estar ahi.
-
18/05/2011 a las 02:15 #98833
Anónimo
InvitadoGracias Lorena28,
En components.php encontre la etiqueta 🙂
Saludos,
-
-
AutorEntradas
- El foro ‘Templates Joomla 1.5’ está cerrado y no se permiten nuevos debates ni respuestas.