Skip to main content

Recently Updated Pages

Display Styles

Code Standards: Frontend Artwork Galleries

There are currently three gallery display styles that galleries can be displayed with. Standard ...

Updated 1 year ago by Ant

Gallery Variables: DOM nodes

Code Standards: Frontend Artwork Galleries

Element ID standards Gallery elements all conform to the following element ID standard: ${prefi...

Updated 1 year ago by Ant

Variables

Code Standards: Frontend Artwork Galleries

For each "item" in a gallery (i.e. an artwork submission, with one video or image as the thumbnai...

Updated 1 year ago by Ant

Implementation Details

Code Standards: Frontend Artwork Galleries

Dynamic resizing For the "standard" gallery layout, the code notes the aspect ratio of each artw...

Updated 1 year ago by Ant

Upload handling

Code Standards: Frontend TinyMCE Standards & Overrides

To handle images uploaded into a TinyMCE editor's content by a user, a few things have to be done...

Updated 1 year ago by Ant

Initialisation options

Code Standards: Frontend TinyMCE Standards & Overrides

The TinyMCEManager class sets some default options for TinyMCE editor initialisation. These can b...

Updated 1 year ago by Ant

Page-specific server-side content loading

Code Standards: Backend Pre-page loading

Updated 1 year ago by Ant

Configuring WinSCP

Local Machine Setup

Session Configuration Note that you can import saved sessions from PuTTY, which saves having to ...

Updated 1 year ago by Ant

Navigation bar

Code Standards: Backend Pre-page loading

Updated 1 year ago by Ant

Crontabs

Webserver Documentation

Each Deserted Chateau webserver should have the following added to the root crontab: # Add the b...

Updated 1 year ago by Ant

Configuring PuTTY

Local Machine Setup

Connection and auth configuration Host name: bitnami@<domain name> (or IP address if no domain i...

Updated 1 year ago by Ant

BookStack

Third-party libraries Backend libraries

Homepage https://www.bookstackapp.com/  What is it? Open-source software used for creating nic...

Updated 1 year ago by Ant

Testing mobile layouts on physical devices

Local Machine Setup

Testing the site on a physical phone requires some configuration (as mobile Chrome does not have ...

Updated 1 year ago by Ant

Deserted Chateau Loggers

Code Standards: Backend Logging

Deserted Chateau uses the PHP monolog library for logging. The Antsstyle\DesertedChateau\Core\Log...

Updated 1 year ago by Ant

Troubleshooting log messages not appearing

Code Standards: Backend Logging

If you're expecting Apache to be logging output, and it isn't, there's a few likely culprits. In...

Updated 1 year ago by Ant

PHP AJAX forms

Code Standards: Backend

All PHP forms that are used for AJAX requests must extend the Antsstyle\DesertedChateau\Handlers\...

Updated 1 year ago by Ant

ansicolor

Third-party libraries Frontend libraries

Homepage https://www.npmjs.com/package/ansicolor What is it? A JavaScript library for adding c...

Updated 1 year ago by Ant

loglevel

Third-party libraries Frontend libraries

Homepage https://github.com/pimterry/loglevel What is it? A barebones JavaScript library for m...

Updated 1 year ago by Ant

hls.js

Third-party libraries Frontend libraries

Homepage https://github.com/video-dev/hls.js What is it? A JavaScript library for enabling HLS...

Updated 1 year ago by Ant

localstorage-slim

Third-party libraries Frontend libraries

Homepage https://github.com/digitalfortress-tech/localstorage-slim What is it? A lightweight l...

Updated 1 year ago by Ant