Skip to main content

Recently Updated Pages

Redis

Useful Commands Reference

Refresh webserver configuration values The values kept in the configuration database table are c...

Updated 1 year ago by Ant

Plugin Notes

Code Standards: Frontend TinyMCE Standards & Overrides

Emoticons To avoid using a third-party CDN, we use a self-hosted copy of the open-source Twemoji...

Updated 1 year ago by Ant

Creating Lambda layers for common functions

Infrastructure (AWS) Lambda

To save on repetitive code in your Lambda functions, you can define a custom Lambda Layer to add ...

Updated 1 year ago by Ant

Authenticating AWS service clients within Lambda functions

Infrastructure (AWS) Lambda

There are two secure ways you can give a Lambda function permission to invoke other AWS services,...

Updated 1 year ago by Ant

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

PHP

Tech stack Languages

Homepage https://www.php.net/ What is it? A scripting language used for back-end code (it stan...

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