![Mamba](https://xoops.org/uploads/cavt4afcaa491477b.jpg)
is this new block officially in xoops 2.6 ?
Blocks will get a major rewrite in XOOPS 2.6.0.
Please see comment from Richard in this news
is this new block officially in xoops 2.6 ?
i dont want to apply the theme.html layout.. dont want the header, footer, etc
How do I delete email field of the comments ?
$cform->addElement(new XoopsFormText(_CM_EMAIL, 'com_email', 50, 60, $com_email), true);
How do I add a field name (sender) in the comments section?
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$meta_keywords = "";
$meta_description = "";
$pagetitle = "";
if(isset($xoTheme) && is_object($xoTheme)) {
$xoTheme->addMeta( 'meta', 'keywords', $meta_keywords);
$xoTheme->addMeta( 'meta', 'description', $meta_description);
} else { // Compatibility for old Xoops versions
$xoopsTpl->assign('xoops_meta_keywords', $meta_keywords);
$xoopsTpl->assign('xoops_meta_description', $meta_description);
}
$xoopsTpl->assign('xoops_pagetitle', $pagetitle);
//this will only work if your theme is using this smarty variables
$xoopsTpl->assign( 'xoops_showlblock', 0); //set to 0 to hide left blocks
$xoopsTpl->assign( 'xoops_showrblock', 0); //set to 0 to hide right blocks
$xoopsTpl->assign( 'xoops_showcblock', 1); //set to 0 to hide center blocks
?>
htmml or php content
include(XOOPS_ROOT_PATH."/footer.php");
?>