Foros Joomla! Spanish

Zona técnica, debate y cooperación sobre Joomla!

Zonas Joomla! Spanish

Portal Joomla! Spansih
Portal Joomla! Spansih NoticiasComunidad JSZona de Extensiones

Estar informado de J!S

Boletines JS
Sigue el proyecto desde joomlacode
Joomla! Spanish 1.5.26 liberada
Sigue el proyecto desde joomlacode de la 1.7
Joomla! Spanish 1.7.5 liberada
Sigue el proyecto desde joomlacode de la 2.5
Joomla! Spanish 2.5.4 Liberada

Estadistícas del foro

  • Miembros en el foro: 374,555
  • Total Temas: 64,830
  • Total Mensajes: 1
Hay 338 usuarios actualmente navegando en los foros.

Colaboradores Gold

Soporte Publicitario


Responder
Antiguo 10-02-2012, 08:49 PM   #1
Iniciado en Joomla
 
Fecha de Ingreso: Feb 2012
Mensajes: 1
ggarciaabellano is on a distinguished road
Wink Eliminar columnas izquierda y derecha de una plantilla

Hola a todos,

Soy nuevísimo en Joomla. Me he instalado Joomla 1.6 en el servidor local y me he descargado una plantilla. De la plantilla quiero eliminar las columnas de la derecha e izquierda (he visto que tienen la posición 4 y 7 respectivamente). El archivo index.php es el que os muestro a continuación. Os agradecería que me echarais una mano y si es posible las dos. Muchas gracias. Si necesitais el código de la hoja de estilos decídmelo por favor.

<?php
/**
* @version $Id: index.php $
* @package Joomla.Site
* @copyright Copyright (C) 2009 - 2011 SiteGround.com - All Rights Reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// No direct access.
defined('_JEXEC') or die;
JHTML::_('behavior.framework', true);
/* The following line gets the application object for things like displaying the site name */
$app = JFactory::getApplication();
$tplparams = $app->getTemplate(true)->params;
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
<!-- The following line loads the template CSS file located in the template folder. -->
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

<!-- The following line loads the template JavaScript file located in the template folder. It's blank by default. -->
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/CreateHTML5Elements.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/sgmenu.js"></script>
</head>
<body class="page_bg">
<div class="wrapper">
<div id="headerwrapper">
<header>
<div id="search">
<jdoc:include type="modules" name="position-0" />
</div>

<div class="top-menu">
<div id="sgmenu">
<jdoc:include type="modules" name="menuload" />
</div>
</div>

<table cellpadding="0" cellspacing="0"><tr><td>
<h1><a href="<?php echo $this->baseurl ?>"><?php echo $app->getCfg('sitename'); ?></a></h1>
</td></tr></table>
</header>
</div>


<section id="content">
<?php if( $this->countModules('position-7') ) : ?>
<div class="maincol">
<?php elseif( !$this->countModules('position-7') and ($this->countModules('position-4') ) ) : ?>
<div class="maincol_w_left">
<?php elseif( $this->countModules('position-7') and (!$this->countModules('position-4') ) ) : ?>
<div class="maincol_w_right">
<?php else: ?>
<div class="maincol_full">
<?php endif; ?>

<?php if( $this->countModules('position-7') ) : ?>
<div class="leftcol">
<jdoc:include type="modules" name="position-7" style="rounded"/>
</div>
<?php endif; ?>

<div class="cont">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>

<?php if( $this->countModules('position-4') ) : ?>
<div class="rightcol">
<jdoc:include type="modules" name="position-4" style="rounded"/>
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
</section>
<footer>
<p style="text-align:center;"><?php $sg = ''; include "templates.php"; ?></p>
</footer>
</div>
</body>
</html>
ggarciaabellano no está en línea   Responder Con Cita


Responder

Marcadores

Herramientas
Desplegado

Permisos de Publicación
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes

Códigos BB están Activo
Los Emoticonos están Activo
Código [IMG] está Activo
Código HTML está Inactivo
Trackbacks are Activo
Pingbacks are Activo
Refbacks are Activo


Temas Similares
Tema Autor Foro Respuestas Último Mensaje
Texto que se desplaze de izquierda a derecha o viceversa generalillo Foro general (1.5) 6 02-09-2009 09:52 PM
Mover la columna izquierda a la derecha??? Makejo_D Foro general (1.5) 4 22-08-2009 02:19 AM
Menús verticales a derecha e izquierda banyour Administración (1.0) 6 17-03-2007 08:53 PM
Recuadro de menu. Izquierda si, derecha no gmingo Templates (1.0) 1 21-11-2006 03:55 PM