Developers

Getting the most from platformOS? In this Developers section, learn how to use Siteglide-CLI, Liquid and GraphQL to create custom solutions. Get tips on best pr

FAQ - What do I do when I see a 504 Gateway Timeout Error?

What does it mean? The above message is the visual version of platformOS's 504 error Page. It means the Page has taken more than 10 seconds to render the server-side code like Liquid and the server has stopped trying to build the Page. Essential...

Avatar

By Matt Walter

March 31, 2023

FAQ - Why does Siteglide use a CLI (Command Line Interface) instead of an FTP (File Transfer Protocol)?

The Short Answer With a CLI, we have full control over its functionality. This means we can make it work better for Agencies building sites on Siteglide. The Long Answer There are several reasons why we think a CLI is better for Siteglide projec...

Avatar

By Matt Walter

March 31, 2023

FAQ - I prefer to make static HTML sites. Is this possible with liquid?

Answer: Yes it is possible! If you want to make a Page using purely HTML, you can give a Page a Name and a Page URL in Page Details- and then write purely HTML in the Page Builder tab. However, we recommend that you use a small element of Liquid t...

Avatar

By Matt Walter

March 31, 2023

FAQ - Formatting dates with Ruby STRF

Answer We store our dates using a raw integer value, such as "1569340710". Here is a demo of how you can convert this into a human-readable date. Liquid Date Filter We'll use the Liquid "date" filter to format our dates, alongside Ruby's directive...

Avatar

By Matt Walter

March 31, 2023

Siteglide Scripts

Introduction Typically when building a website, we have one or two core stylesheets and JavaScript files that contain the styling for your entire website. When building large sites, however, these files can contain many thousands of lines of code...

Avatar

By Matt Walter

March 31, 2023

Pages - Custom Session Fields

platformOS & Siteglide allows you to store additional information for a visitor by adding additional fields to their session when they take certain actions. You can then use these additional session fields to serve them more relevant page content....

Avatar

By Luke Wakefield

March 29, 2023

Introducing Siteglide CLI

Siteglide CLI is a tool that enables you to work on your project from your local editor and has similar behaviours to that of using FTP, in that you can sync up and pull down changes from your website. You will be required to use some terminal com...

Avatar

By Matt Walter

March 31, 2023