Q and A::how to protect single custom page ?
i put this code inside my root and named it as test.php and it works
if i dont want to use any module is this acceptable/ok ?
i put this code inside my root and named it as test.php and it works
if i dont want to use any module is this acceptable/ok ?
<?php
require_once ("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&n...