One Page SiteUser Manual Visit One Page Site →
Reference and help

Folder and file structure

A short map of the package so you know where things live.

/
├── index.php            the website front controller
├── config.php           settings and administrator account
├── .htaccess            security and URL rules (Apache)
├── robots.txt
├── admin/               the admin panel (login, pages, assets)
├── css/                 shared front end styles (base.css, lightbox)
├── js/                  shared front end scripts
├── data/                your content (XML files)
├── include/             PHP classes and language texts
├── pages/               blog list, blog post and contact page
├── templates/           modern/  elegant/  midnight/
├── thumbnails/          generated thumbnails
└── uploaded_images/     your uploaded pictures

Your content: back these up

LocationContents
data/sections.xmlAll sections of your page.
data/listings.xmlBlog posts.
data/information.xmlBranding, contact details, SEO and social links.
config.phpSettings, template choice, colour, fonts and the administrator account.
uploaded_images/ and thumbnails/All pictures.

System files

LocationPurpose
data/login_attempts.jsonCreated automatically; records failed logins for the lockout.
include/texts_en.phpAll texts of the interface and the contact form, in English.
templates/<name>/index.html, style.css and template.json of a template.
css/base.css, js/site.jsShared layout and behaviour for all templates.

Do not edit the XML files by hand unless you know what you are doing. Use the admin panel; it keeps the files valid.

Last updated