Meaning
root/test.php?
So can I wrap a page with this code we have been using for years. Then add your code to where to get this working in the root folder not root/modules/test/test.php
Quote:
Northern wrote:
name it whatever you want, but end it in .php<?php if (file_exists("mainfile.php")) { include("mainfile.php"); } elseif(file_exists("../mainfile.php")) { include("../mainfile.php"); } else { include("../../mainfile.php"); } include(XOOPS_ROOT_PATH . "/header.php"); $xoopsTpl->assign('xoops_showrblock', 0); // 1 display right blocks $xoopsTpl->assign('xoops_showlblock', 0); // 1 display right blocks ?> /////// Your code in html /////// <?php include(XOOPS_ROOT_PATH . "/footer.php"); ?>
or
in full php<?php if (file_exists("mainfile.php")) { include("mainfile.php"); } elseif(file_exists("../mainfile.php")) { include("../mainfile.php"); } else { include("../../mainfile.php"); } include(XOOPS_ROOT_PATH . "/header.php"); $xoopsTpl->assign('xoops_showrblock', 0); // 1 display right blocks $xoopsTpl->assign('xoops_showlblock', 0); // 1 display right blocks echo "Your code"; include(XOOPS_ROOT_PATH . "/footer.php"); ?>
Marc
I didn't know user's could be controlled with stand alone pages.
Thanks for your time...

