Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>A solution that I discovered yesterday:</p> <ol> <li>I duplicated and renamed all my pages to .php (retained the original html files just in case!)</li> <li><p>I have replaced all the {&lt;#include virtual="folder_name/file_name.ext" -->} with </p> <pre><code> &lt;?php include "folder_name/file_name.ext" ; ?&gt; </code></pre> <p>with the appropriate number of dots and slashes depending upon where the pages are in my folder hierarchy. ( The {} above is to mark out the code only)</p></li> <li>Finally, I renamed the original index.html to some other name so that the index.php is picked up instead of the index.html</li> </ol> <p>This seems to be working out - I am still testing out all the pages and links - a very tedious and time consuming exercise! </p> <p>INCLUDES SYNTAX:</p> <p>In a php file use </p> <pre><code> &lt;?php include "..//folder_name/file_name.ext" ; ?&gt; </code></pre> <p>In an html file use </p> <pre><code> &lt;!--#include virtual="../folder_name/file_name.ext" --&gt; </code></pre> <p>EXPERIMENT WITH NUMBER OF "..." AND NUMBER OF "///" IN THE ABOVE SYNTAX TO GET THE CORRECT COMBINATION!!!!</p> <ol> <li>For me, all my includes are small html files in a folder ABC which is directly under the webroot. </li> <li>For pages which are under sibling folders of ABC i.e. in other folders directly under webroot, "..//" is the number of dots and slashes that work. </li> <li>For pages which are directly in the webroot (i.e. not in any folder inside webroot), folder_name/file_name.ext without any dots or slashes has worked.</li> <li>I haven't had the time to check out the number of dots and dashes required for any other level in the hierarchy!</li> </ol> <p>I hope this helps!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload