Hello
I have created a document (page2.html) with a blank template and inserted a snippet call in the page - [!inserthtml!]
Here is the actual snippet [!inserthtml!]:
<?php
include(’www.mydomain.com/container/page.html’);
?>
The page I am calling (page.html) is a page from the same site and is generated by MODx. I haven’t found a better way to do this at this point
I need to be able to display the entire page 100% exact from page.html in page2.html
I don’t need just the content from page.html - I need the exact entire page to show in page2.html as in page.html - in other words, if I view the source on both pages they need to be exactly the same.
This is why I am trying to use an include.
I don’t get any errors, but the page2.html is blank. I have tried a few variations with the same results.
What do you see that I am doing wrong
Regards,
Ken Roberts