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
| Location | Contents |
|---|---|
data/sections.xml | All sections of your page. |
data/listings.xml | Blog posts. |
data/information.xml | Branding, contact details, SEO and social links. |
config.php | Settings, template choice, colour, fonts and the administrator account. |
uploaded_images/ and thumbnails/ | All pictures. |
System files
| Location | Purpose |
|---|---|
data/login_attempts.json | Created automatically; records failed logins for the lockout. |
include/texts_en.php | All 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.js | Shared 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