Diseño y Posicionamiento Web con Joomla › Foros › General › Joomla en General › Problema con plantilla y index.php
- Este debate tiene 3 respuestas, 2 mensajes y ha sido actualizado por última vez el hace 13 años, 9 meses por
Anónimo.
-
AutorEntradas
-
-
10/07/2011 a las 22:00 #100305
Anónimo
InvitadoHola,
Tengo un problema para poder configurar correctamente una plantilla, en mi caso el problema o error me sale a la parte de arriba de la pantilla y és el siguiente:
Notice: Undefined variable: option in C:wampwwwjoomlatemplatestheme647index.php on line 145
Call Stack
# Time Memory Function Location
1 0.0007 379848 {main}( ) ..index.php:0
2 0.3347 9303240 JSite->render( ) ..index.php:49
3 0.3350 9303728 JDocumentHTML->parse( ) ..application.php:250
4 0.3351 9303728 JDocumentHTML->_fetchTemplate( ) ..html.php:306
5 0.3353 9304072 JDocumentHTML->_loadTemplate( ) ..html.php:460
6 0.3362 9417232 require( ‘C:wampwwwjoomlatemplatestheme647index.php’ ) ..html.php:405——————————————————————————————————————————————-
el archivo contiene el código siguiente:
baseurl.’/templates/’.$this->template;
JHTML::_(‘behavior.framework’, true);
// get params
$color = $this->params->get(‘templatecolor’);
$logo = $this->params->get(‘logo’);
$navposition = $this->params->get(‘navposition’);
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
$leftcolgrid = $this->params->get(‘Leftcolgrid’);
$rightcolgrid = $this->params->get(‘Rightcolgrid’);$user1colgrid = $this->params->get(‘User1colgrid’);
$User1 = $this->params->get(‘User1’);
$user2colgrid = $this->params->get(‘User2colgrid’);
$User2 = $this->params->get(‘User2’);
$user3colgrid = $this->params->get(‘User3colgrid’);
$User3 = $this->params->get(‘User3’);
$user4colgrid = $this->params->get(‘User4colgrid’);
$User4 = $this->params->get(‘User4’);?>
countModules(‘left’) == 0):?>
baseurl ?>/templates/theme647/css/ieonly.css" rel="stylesheet" type="text/css" />
countModules(‘right’) == 0):?>
if (($menu->getActive() == $menu->getDefault()) && ($option!=”com_search”)) {?>countModules(‘left’)) : ?>
getBuffer(‘message’)) : ?>countModules(‘right’)) : ?>
-