qwwwik load order

qwwwik CMS does not use a database. It works like this:

Every page is created with a file html.php and a textfile.txt containing the page content. The html.php file is a template which, along with the content textfile.txt, loads the other standard files to build the page. The load order is:

[ start html.php ]

(1) error-reporting.php (optionally reports errors) which loads:
— inc/settings.php
— inc/functions.php

(2) Gets pages/pagename.txt where the content is (output in content.php)

(3) lang.php which loads:
— inc/languages/en.php (Engish)
— inc/languages/de.php (German)
— inc/languages/es.php (Spanish)
— inc/languages/fr.php (French)

(4) top.php which loads:
— ppp.php (if page is password protected)
— stylesheets.php which loads:
—— css/common-g.css
—— css/style.css
—— css/extra.css
— og.php for Open Graph

(5) menu.php which loads:
inmenu.txt

(6) login-form.php (if page is password protected)

(7) content.php which loads:
pages/pagename.txt ($text from html.php)
— extra-content.php if comments, which loads:
—— the comment file and
—— form.php which loads:
——— filter-email.php (if commenting open) which loads:
———— stopwords.php

(8) Javascript files:
js/slides.js
js/simpleToggle.js
js/modal-img.js
js/accordion-tab.js
js/copy.js
js/fade-in.js
js/scrollbar-width.js
js/lazy-load.js

(9) footer.php which loads:
— tracking.php

(10) 404.php (if page textfile not found)

[ end html.php ]

All the PHP files in /inc/ are referred to above except prelims.php which is loaded in e.php (the optional contact form) and s.php (the optional search page), mainly to efficiently load error-reporting.php and lang.php for those two pages.

Info

Page last modified: 17 March, 2026