shop.warewolf.in Open in urlscan Pro
118.139.176.32  Public Scan

URL: https://shop.warewolf.in/
Submission: On November 15 via api from US — Scanned from SG

Form analysis 0 forms found in the DOM

Text Content

 * Basic Concepts
 * AJAX Framework
 * CMS Components
 * Backend Area


PLATFORM DEMO

This is the October CMS demo theme that explores the core features. By default,
October CMS uses flat file themes where each theme is a set of files. Each page
has a corresponding file that you can edit with your favourite code editor and
manage with your favourite Version Control System. You will find files used by
this theme in the themes/demo directory of your installation.


OVERVIEW

This page demonstrates the basic CMS features. Usually each page built with
October CMS is a combination of a layout, page, partials and content blocks,
although in simple cases you can just use a page without anything else.




LAYOUTS

Layouts define the page scaffold. The layout file layouts/default.htm includes
everything that repeats on each page, such as the HTML, HEAD and BODY tags, CSS
and JavaScript references. The page menu and footer in the Demo theme are
defined in the layout as well.


PAGES

Pages hold the content for each URL. The page file pages/home.htm defines the
page URL (/ for this page) and the page content. Pages are rendered inside
layouts with the page tag that should be called in the layout code. Layouts are
optional — you can define everything right in the page file.

xxxxxxxxxx



 
1

{% page %}





PARTIALS

Partials are chunks of HTML defined in separate files that can be included
inside pages, layouts or other partials. Partials are rendered with the partial
tag. You may place partials inside folders too. In the example below we placed
the footer content to the partials/site/footer.htm partial.

xxxxxxxxxx



 
1

{% partial "partial-name" %}

2

{% partial "site/footer" %}





CONTENT BLOCKS

Content blocks are text or HTML blocks that can be edited separately from the
page or layout. The introductory text used on this page is defined in the
content/welcome.htm file. Content blocks are defined and rendered with the
content tag:

xxxxxxxxxx



 
1

{% content "content-name.htm" %}





PLACEHOLDERS

Placeholders allow pages to inject content to a layout. The common use is
injecting page-specific references to CSS or JavaScript files to the HEAD tag
defined in the layout. Placeholders are defined in the layout file and they have
names so that they can be referred in the page. Placeholders use the placeholder
and put tags.

Layout file

xxxxxxxxxx



 
1

<head>

2

    ...

3

    {% placeholder head %} 

4

</head>




Page file

xxxxxxxxxx



 
1

{% put head %}

2

    <link href="css/theme.css" rel="stylesheet">

3

    <script src="js/script.js"></script>

4

{% endput %}





ASSETS

Assets are resource files like images, JavaScript and stylesheets. This theme
stores its asset files (JavaScript, CSS, images, fonts, etc.) in the
themes/demo/assets directory. This theme is packaged with these useful
third-party tools:

 * Bootstrap 5
 * Bootstrap Icons
 * CodeMirror

Continue to AJAX framework ⟶

© 2013 - 2024 Alexey Bobkov & Samuel Georges.