- Postagens: 312
- Obrigados Recebidos: 0
Modificar uma Template [Resolvido]
- dressa
- Autor do Tópico
- Offline
- JCB! Master
Menos
Mais
11 anos 9 meses atrás #77919
por dressa
dressa replied the topic: Re: Modificar uma Template
qual o problema do else???
<?php
}
/*====== Show mainbody ======*/
if ($show_frontpage) {
?>
<div id="mercado">
<jdoc:include type="modules" name="mercado" style="jsnmodule" />
</div>
<?php else:
<div id="jsn-mainbody">
<jdoc:include type="component" />
</div>
<?php endif ?>
<?php
}
<?php
}
/*====== Show mainbody ======*/
if ($show_frontpage) {
?>
<div id="mercado">
<jdoc:include type="modules" name="mercado" style="jsnmodule" />
</div>
<?php else:
<div id="jsn-mainbody">
<jdoc:include type="component" />
</div>
<?php endif ?>
<?php
}
Please Entrar ou Registrar to join the conversation.
- Uriel
- Offline
- JCB! Legend
11 anos 9 meses atrás #77920
por Uriel
Uriel replied the topic: Re: Modificar uma Template
tente fazer sem ele
if ($show_frontpage) {
?>
<div id="mercado">
<jdoc:include type="modules" name="mercado" style="xhtml" />
</div>
<?php endif ?>
<jdoc:include type="component" />
abraço
if ($show_frontpage) {
?>
<div id="mercado">
<jdoc:include type="modules" name="mercado" style="xhtml" />
</div>
<?php endif ?>
<jdoc:include type="component" />
abraço
Please Entrar ou Registrar to join the conversation.
- dressa
- Autor do Tópico
- Offline
- JCB! Master
Menos
Mais
- Postagens: 312
- Obrigados Recebidos: 0
11 anos 9 meses atrás #77921
por dressa
dressa replied the topic: Re: Modificar uma Template
Parse error: syntax error, unexpected '<' in C:\wamp\www\currovelho\templates\jsn_teki_free\index.php on line 282
<?php
}
/*====== Show mainbody ======*/
if ($show_frontpage) { ?>
<div id="mercado">
<jdoc:include type="modules" name="mercado" style="jsnmodule" />
</div>
<?php } else {
erro <!-- s:oh: --><img src="{SMILIES_PATH}/important.gif" alt=":oh:" title="Oh!" /><!-- s:oh: --> <div id="jsn-mainbody">
<jdoc:include type="component" />
</div>
?>
<?php
}
/*====== Show mainbody ======*/
if ($show_frontpage) { ?>
<div id="mercado">
<jdoc:include type="modules" name="mercado" style="jsnmodule" />
</div>
<?php } else {
erro <!-- s:oh: --><img src="{SMILIES_PATH}/important.gif" alt=":oh:" title="Oh!" /><!-- s:oh: --> <div id="jsn-mainbody">
<jdoc:include type="component" />
</div>
?>
Please Entrar ou Registrar to join the conversation.
- dressa
- Autor do Tópico
- Offline
- JCB! Master
Menos
Mais
- Postagens: 312
- Obrigados Recebidos: 0
- dressa
- Autor do Tópico
- Offline
- JCB! Master
Menos
Mais
- Postagens: 312
- Obrigados Recebidos: 0