Qwwwik load order
Version 1.2 May 2024
example-page.php loads template.php
[ start template.php ]
Order of loading:
(1) error-reporting.php (optionally reports errors) loads:
— inc/settings.php
— inc/functions.php
(2) Gets pages/example-page.txt (output in content.php)
(3) top.php loads:
— ppp.php (if passworded)
— stylesheets.php which references in HTML:
—— css/common-h.css
—— css/stylesheet.css
—— css/extra.css
then loads:
— extra-head.php (Open Graph etc)
[ <div id="wrapper"> ]
[ <div id="content"> ]
(4) If the page is password-protected and the correct password has previously been entered:
content.php is loaded. If not:
login-form.php is loaded.
If the page is not password-protected:
content.php is loaded.
content.php loads:
— history.php then if messages is enabled:
— form.php (for entering messages) which loads:
—— stopwords.php
(5) template.php then references in HTML:
— js/slides.js
— js/simpleToggle.js
— js/read-more.js
— js/copy.js
then loads:
bottom.php
[ </div><-- end #content //--> ]
(6) edit.php
(7) footer.php
(8) tracking.php
[ </div><-- end #wrapper //--> ]
(9) 404.php (if pages/example-page.txt not found)
[ end template.php ]