include("mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$meta_keywords = "dummy, page, keywords";
$meta_description = "dummy page description";
$pagetitle = "dummy page title";
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', 1); //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
?>
test
include(XOOPS_ROOT_PATH."/footer.php");
?>
include("mainfile.php");
include("header.php");
$xoopsOption['show_rblock'] = 0; //0 for no right block
$xoopsOption['show_lblock'] = 1 ;
?>
My HTML
include("footer.php");
?>
class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xoopsimagemanager\xoopsimagebrowser.php
include("mainfile.php");
include("header.php");
$xoopsOption['show_lblock'] = 0; //0 for no right block
?>
My HTML
include("footer.php");
?>
$src = "http://www.youtube.com/embed/" . $matches[2];
$src = "http://www.youtube.com/embed/" . $matches[2];
if (empty($width) || empty($height))
{$width = 16;$height = 9;}
if (($width) > 16 ||($width) > 9)
{if (($width / $height) > 1.5)
{$width = 16;$height = 9;}
else {$width = 4;$height = 3;} }