1
I would to make a mobile version of my XOOPS site
It will be different from the Full Site Version
It will be more simple
so far i have made several html page like : About Us, Services, Etc
and it have its own design and i put it in XOOPs root
The problem is
i want to use multilingual tag in the mobile version ..i know i can use the language tags i if i use this custom page code
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
?>
html
include(XOOPS_ROOT_PATH."/footer.php");
?>
but if i use the custom page code above it will use my xoops theme design
i don't want the mobile site to have same theme with my full xoops site
how do i use my own design for the mobile website..
Full site - using my xoops theme
Mobile site - my own design without following the xoops theme