Re: Code <{$xoops_uname} | Titre du sujet : Re: Code <{$xoops_uname} par Kris sur 01/07/2008 19:18:01
<?php
include "../../mainfile.php";
include(XOOPS_ROOT_PATH."/header.php");
$xoopsTpl->assign( 'xoops_showrblock', 1); // 1 = With right block - 0 = Without right block
$xoopsTpl->assign( 'xoops_showlblock', 0); // 1 = With left block - 0 = Without left block
?>
Votre texte et/ou code html sans les balises html, head, title et
body celles ci étant déja générées elles se retrouveraient en double... .. .
<?php
if(isset($xoTheme) && is_object($xoTheme)) {
$xoopsTpl->assign('xoops_sitename','This is the page title, visible at the top of the browser');
$xoTheme->addMeta( 'meta', 'keywords', "keyword, keyword, keyword, etc.");
$xoTheme->addMeta( 'meta', 'description', "This is the page description line that often appears in search results.");
}
include(XOOPS_ROOT_PATH."/footer.php");
?>
|
|