- Postagens: 25
- Obrigados Recebidos: 0
Template personalizado não exibe conteúdo
- rogerioag
- Autor do Tópico
- Offline
- JCB! Colaborador
se puder testar, mas acho que deve haver algum bug. Salvei meu arquivo original e deixei apenas o código abaixo:
<?php
defined( '_JEXEC' ) or die( 'Acesso restrito' );
?>
<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body>
<div id="cabecalho">
***** cabeçalho *****
<?php echo $mainframe->getCfg('sitename'); ?>
</div>
<jdoc:include type="module" name="breadcrumbs" />
<jdoc:include type="modules" name="top" />
<div id="miolo">
***** central *****
<jdoc:include type="component" />
</div>
<div id="colDireita">
***** direita *****
<jdoc:include type="modules" name="right" />
</div>
<div id="rodape">
***** rodape *****
<?php echo "Página apresentada com meuTemplate"; ?>
</div>
</body>
</html>
Como você pode ver, não tem nada nele. Acredite: aconteceu a mesma coisa!!!
Só exibe quando tiro a DIV da coluna esquerda. Percebi agora também que a DIV do rodapé também não está sendo exibida.
Não seria um bug dessa versão 1.5.14-ptBR ?
Please Entrar ou Registrar to join the conversation.
- rogerioag
- Autor do Tópico
- Offline
- JCB! Colaborador
- Postagens: 25
- Obrigados Recebidos: 0
- hurry
- Offline
- JCB! Professional
- Postagens: 244
- Obrigados Recebidos: 0
cheque o DOCTYPE utf=8 parece que naumesta declarado no teste q vc postou
e declare o type="xhtml" em todas asa posições.
<?php
defined( '_JEXEC' ) or die( 'Acesso restrito' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body>
<div id="cabecalho">
***** cabeçalho *****
<?php echo $mainframe->getCfg('sitename'); ?>
</div>
<jdoc:include type="module" name="breadcrumbs" />
<jdoc:include type="modules" name="top" />
<div id="colEsquerda" style="width:24%; height:300px;border:solid 1px #000; float:left;"> <!-- esquerda modulos left
menu etc -->
*******************
<jdoc:include type="modules" name="left" style="xhtml" />
*****************
</div>
<div id="miolo" style="width:50%; height:300px; border:solid 1px #000;float:left;">
***** central *****
<jdoc:include type="component" style="xhtml" />
</div>
<div id="colDireita"style="width:24%; height:300px; border:solid 1px #000; float:right;">
***** direita *****
<jdoc:include type="modules" name="right" style="xhtml"/>
</div>
<div id="rodape" style="float:left" display:blok;>
***** rodape *****
<?php echo "Página apresentada com meuTemplate"; ?>
</div>
</body>
</html>
Please Entrar ou Registrar to join the conversation.
- rogerioag
- Autor do Tópico
- Offline
- JCB! Colaborador
- Postagens: 25
- Obrigados Recebidos: 0
<jdoc:include type="head" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
Alterei o código do DIV da coluna esquerda do jeito que você fez mas continua não exibindo nada. Só exibe alguma coisa se eu excluo o código abaixo:
<jdoc:include type="modules" name="left" style="xhtml" />
O que você acha que posso fazer?
Please Entrar ou Registrar to join the conversation.
- hurry
- Offline
- JCB! Professional
- Postagens: 244
- Obrigados Recebidos: 0
Voce testo outro template
Please Entrar ou Registrar to join the conversation.