I have created a custom php page named testpage.php, but cannot get it to display.
If I add it to custom pages as a php file, with the source file referenced, when I access the page from the menu, I see the contents of the page, but they are on top of the dadabik "frame" - so not really customised as required.
If I add the page as as external link, it shows as a blank page (like the script has "died", even though I'm logged in)
If I add it as in internal link, I get a 404 page not found. (I've tried putting the page in the same folder as index.php - and I also have an html custom page in there, which works fine as an external link)
$enable_custom_php_pages = 1; is set in my custom config.
I've tried to get it working with the only thing on the page this simple code:
<?php
global $conn;
if(!defined('custom_page_from_inclusion')) { die(); }
// Display the page content for logged-in users
echo "Welcome to the secure page!";
?>
but no luck.
Thanks in advance.
If I add it to custom pages as a php file, with the source file referenced, when I access the page from the menu, I see the contents of the page, but they are on top of the dadabik "frame" - so not really customised as required.
If I add the page as as external link, it shows as a blank page (like the script has "died", even though I'm logged in)
If I add it as in internal link, I get a 404 page not found. (I've tried putting the page in the same folder as index.php - and I also have an html custom page in there, which works fine as an external link)
$enable_custom_php_pages = 1; is set in my custom config.
I've tried to get it working with the only thing on the page this simple code:
<?php
global $conn;
if(!defined('custom_page_from_inclusion')) { die(); }
// Display the page content for logged-in users
echo "Welcome to the secure page!";
?>
but no luck.
Thanks in advance.