The pulls in a module cleverly named “navmodule”.
Inside of “navmodule” I had this:
<?php require("/home/#USER#/public_html/bookmarks/bookmarks.html"); ?>
Calling a file named “bookmarks.html” which is simply a bit of html that is generated from another blog and I want it included in the sidebar along with my other sidebar content.
The DOES get pulled in no problem. However the PHP is not being seen or processed as when I view source on the page the PHP is still there and not rendering the include.
So I checked the wiki and have tried this instead:
<?php include($_SERVER['DOCUMENT_ROOT']."/bookmarks/bookmarks.html"); ?>
This still behaves the same as my previous code.
I have also tried using a .php extension on my included file as well.
This is being called into a page that is “index.html” does DH have php turned off for anything but a PHP extension?
and if so can I switch that configuration on my domain so it will run inside .html files?
Or am I dealing with another issue here?