Página 1 de 1
Tamanho do componente na página.
Enviado: 26 Mar 2008, 10:53
por Daniel Afonso Toledo Marchezini
Senhores, não achei nada no forúm sobre a minha dúvida.
Seguinte, eu uso o templates healings_leaves. Até ai tudo bem, a minha dúvida é a seguinte:
Na página principal, o miolo do site fica na página inteira. Qdo acesso outros modulos ou componentes por exemplo, classificados, o miolo fica limitado no meio da página, ou melhor, ele usa somente o meio da pagina e não usa o espaço do "bloco" direito, ou seja, eu quero que ele use a pagina toda, o centro e o bloco da direita como aparece na primeira página.
Fica difícil explicar por palavras, se puderem acessar o site e me ajudar eu agradeço e MUITO.
site:
http://daniel.dasistemas.org.br
classificados:
http://daniel.dasistemas.org.br/index.p ... &Itemid=31
Obrigado e abraços à todos.
Re: Tamanho do componente na página.
Enviado: 26 Mar 2008, 13:28
por Willian Souza
Na verdade ele é assim mesmo. É que ele possui duas colunas: a da esquerda e direita. Só que quando vc não coloca nenhum módulo lá, ele continua deixando o espaço em branco. Vc deve editar ele no index de seu template ou pelo CSS se for tableless.
Re: Tamanho do componente na página.
Enviado: 26 Mar 2008, 13:39
por Willian Souza
Esta ai meu filho... 8)
Eu retirei a coluna da direita. Pode ser feito facilmente pelo Dreamweaver.
Código: Selecionar todos
<?php
//Healing leaves is a mambo 4.5.2 template. from lady-beetle.com.
//author: Rami Ben Ami
//copyright: lady-beetle.com
//authorUrl: http://www.lady-beetle.com
defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
//Define the absolute path to this template
$thisTemplatePath = $GLOBALS[mosConfig_live_site] ."/templates/" .$GLOBALS[cur_template] ."/";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php if ( $my->id ) { initEditor(); } ?>
<?php mosShowHead(); ?>
<?php echo "<link rel=\"stylesheet\" href=\"" .$thisTemplatePath ."css/template_css.css\" type=\"text/css\"/>" ; ?>
<?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ; ?>
</head><body>
<table width="760" height="53" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td><img src="<?php echo $thisTemplatePath ?>images/healing_03.jpg" width="760" height="53" alt="" /></td>
</tr>
</table>
<table width="760" height="58" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="81"><img src="<?php echo $thisTemplatePath ?>images/healing_05.jpg" width="81" height="58" alt="" /></td>
<td background="<?php echo $thisTemplatePath ?>images/healing_06.jpg" ><font class="site_name"><?php echo $mosConfig_sitename; ?></font></td>
<td width="229"><img src="<?php echo $thisTemplatePath ?>images/healing_07.jpg" width="229" height="58" alt="" /></td>
</tr>
</table>
<table width="760" height="44" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="14" background="<?php echo $thisTemplatePath ?>images/healing_08.jpg"><img src="<?php echo $thisTemplatePath ?>images/healing_09.jpg" width="14" height="44" alt="" /></td>
<td align="left" background="<?php echo $thisTemplatePath ?>images/healing_08.jpg"><?php mosLoadModules ( 'user3' ); ?></td>
</tr>
</table>
<table width="760" height="53" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="14" height="38"><img src="<?php echo $thisTemplatePath ?>images/healing_09.gif" width="14" height="38" alt="" /></td>
<td width="730" background="<?php echo $thisTemplatePath ?>images/healing_10.gif"><?php mosPathWay(); ?></td>
<td width="16"><img src="<?php echo $thisTemplatePath ?>images/healing_11.gif" width="16" height="38" alt="" /></td>
</tr>
<tr>
<td background="<?php echo $thisTemplatePath ?>images/healing_12.gif"> </td>
<td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="160" valign="top"><?php mosLoadModules ( 'left' ); ?>
<?php mosLoadModules ( 'user1' ); ?></td>
<td valign="top"><?php mosMainBody(); ?></td>
</tr>
</table></td>
<td background="<?php echo $thisTemplatePath ?>images/healing_14.gif"> </td>
</tr>
<tr>
<td width="14" height="39"><img src="<?php echo $thisTemplatePath ?>images/healing_28.gif" width="14" height="39" alt="" /></td>
<td valign="middle" background="<?php echo $thisTemplatePath ?>images/healing_30.gif"><img src="<?php echo $thisTemplatePath ?>images/healing_29.gif" alt="" width="62" height="39" align="absmiddle" /><strong> Núcleo
Campolina da Grande BH, Av: Amazonas, 6020 - Belo Horizonte - MG - CEP:
30510-000 Tel.(31)3372-7478</strong></td>
<td><img src="<?php echo $thisTemplatePath ?>images/healing_32.gif" width="16" height="39" alt="" /></td>
</tr>
</table>
<?php include_once('includes/footer.php'); ?>
</body>
</html>
Copie este texto e cole no seu index.php do seu template.
Re: Tamanho do componente na página.
Enviado: 26 Mar 2008, 14:10
por Daniel Afonso Toledo Marchezini
Cara, eu só não digo que te amo, pq neh? pega mau, muito mau!!!
Deu certinho!
Muitissimo agradecido, precisando de mim... estou na área!
Abraços!
Re: Tamanho do componente na página.
Enviado: 26 Mar 2008, 14:13
por Willian Souza
Estamos ai pra ajudar! Fico contente que deu certo.

Re: Tamanho do componente na página.
Enviado: 01 Abr 2008, 14:54
por ender del olmo
BOA TARDE FIZEMOS UM SITE DE CARROS SO QUE EU NÃO UM COMPONENTE PARA DEIXAR OS CARROS NA PAGINA INICIAL POR EXEMPLO COLOCAR UNS 20 CARROS ALI DE UMA OLHADA
WWW.MERCADAODOCARRO.COM.BR