I am new to X10 and have been trying to put together a simple site using the SiteReptile builder. This has been driving me nuts.
I have created a basic page layout from one of the templates and want to include a spearate file (which will change regularly) as the main body of one of the pages.
I have tried both :-
<!--#include file='web_documents/filename.shtml' --> and
<?php include('web_documents/filename.html'); ?>
Neither works. Both files exist in the web_documents subdirectory of public_html. I have tried combinations of full fiepaths, no filepath at all and single/double quotes. The statements appear in the source code when I view the webpage, but are seemingly not being executed. I have also tried a php echo "hello" statement just to see if php works - same result.
I understand from the SiteReptile documentation that I should do this from a 'include code' page, but I cannot find this opion anywhere. I did find that the 'paste html code' button seemed to do the same thing - stored the include statements somewhere and referred to them with a {%paste_filename%} in the body of the page - but nothing appears.
Any suggestions would be welcome.
The page in question is http://www.triviatime.x10hosting.com/index.php?p=1_4_Latest-Scores
Many thanks.
I have created a basic page layout from one of the templates and want to include a spearate file (which will change regularly) as the main body of one of the pages.
I have tried both :-
<!--#include file='web_documents/filename.shtml' --> and
<?php include('web_documents/filename.html'); ?>
Neither works. Both files exist in the web_documents subdirectory of public_html. I have tried combinations of full fiepaths, no filepath at all and single/double quotes. The statements appear in the source code when I view the webpage, but are seemingly not being executed. I have also tried a php echo "hello" statement just to see if php works - same result.
I understand from the SiteReptile documentation that I should do this from a 'include code' page, but I cannot find this opion anywhere. I did find that the 'paste html code' button seemed to do the same thing - stored the include statements somewhere and referred to them with a {%paste_filename%} in the body of the page - but nothing appears.
Any suggestions would be welcome.
The page in question is http://www.triviatime.x10hosting.com/index.php?p=1_4_Latest-Scores
Many thanks.