start

Since OctoberCMS (OC) switched from an Open to a Close Source Project this Wiki will cover WinterCMS (WNC) instead.
WinterCMS is a fork of the original OctoberCMS open-source version and now maintained by its own team.
Since the development of WNC is still in progress, the content will be updated and further content will be added as soon as WNC will start it's marketplace!

Due to the change from OC to WNC you will still find the name “OctoberCMS” instead of “WinterCMS” at some places and on some pictures within this wiki. The update process will continue :)

Welcome to the WinterCMS HowTo Wiki & Cookbook

This is a reference guide to common questions asked especially by beginners but will cover as well as answers for more experienced users of WinterCMS OctoberCMS. Each how-to is written to find a quick solution for a specific problem. So hopefully it's helpful for those making their first steps with this CMS, but also for those looking for a brush-up.

To make things more understandable most how-to's are explained by practical examples, screenshots and videos in some cases.

Other sources:
Beside the docs on the WinterCMS homepage, there are several sources to find tips, help and explanations:



This Wiki: Table of Content

Introduction
Who WinterCMS could be for
Who this wiki is for
Prerequisites
Conventions

Personal homepage
SMB company homepage
SMB service websites
Club homepage and administration
Webshop
Interactive, educational websites
Web/SaaS applications

How to do a basic installation
A guided WinterCMS tour: The Backend - where it all begins
How to install themes
How to install plugins

How themes, layouts, pages, partials and content blocks are organized

How to use/change a theme
How to create a layout - part 1 the header
How to create a layout - part 2 the page body
How to create a layout - part 3 adding scripts
How to set up a new page
How to build a simple page
How, where and when to use partials
How, where and when to use content blocks
Where to place javaScript/jQuery libraries and how to integrate them
Where to place php libraries and how to integrate them

How to use plain html in WinterCMS
How to use twig in WinterCMS
How to use php in WinterCMS
How to use sessions and session variables
How to read data from a model or plugin
How to do data queries
How to add a redirect
How to implement AJAX calls

How to manage images, videos and documents with Media Manager
How to prevent direct access to files stored with Media Manager
How to use Media finder in plugin development

How to use WinterCMS as a WYSIWYG site creator
Visual page design
The User plugin: Handling restricted pages and services
The Blog plugin: How to setup a simple blog.
Translate: A must-have for multilingual sites

Developer Tools: An every-day inplace code-editor
List-switch: Small, simple, handy
Backend Elite: A Swiss-Knife for various occasions
PHP Sandbox: How to look inside

How to install the Builder plugin
How to prepare to create a database

Example 1: Show a list of books in the frontend
Example 2: Show details to a book
Example 3: Frontend forms