Layout in use: layout_alt_two

theme > pages > adb.htm

Row with Cols:

How to make a grid (like CSS grid).

Plugin components

Plugins can provide components, simple building blocks that enrich any page or layout. Check out the todo example below.

Directory Tree

Structure of Winter CMS { Basik } Theme:

ThemeName Folder Top
├── assets
│   ├── css
│   │   ├── basiktheme.css
│   │   ├── theme.css
│   │   └── vendor.css
│   ├── fonts
│   │   ├── lato-black-webfont.eot
│   │   ├── lato-black-webfont.svg
│   │   ├── lato-black-webfont.ttf
│   │   ├── lato-black-webfont.woff
│   │   ├── lato-italic-webfont.eot
│   │   ├── lato-italic-webfont.svg
│   │   ├── lato-italic-webfont.ttf
│   │   ├── lato-italic-webfont.woff
│   │   ├── lato-light-webfont.eot
│   │   ├── lato-light-webfont.svg
│   │   ├── lato-light-webfont.ttf
│   │   ├── lato-light-webfont.woff
│   │   ├── lato-regular-webfont.eot
│   │   ├── lato-regular-webfont.svg
│   │   ├── lato-regular-webfont.ttf
│   │   └── lato-regular-webfont.woff
│   ├── images
│   │   ├── brain-alt-5-px.png
│   │   ├── newbrain_bandicoo.webp
│   │   ├── pages-vs-cmseditor-vs-paths.png
│   │   ├── theme-preview.png
│   │   └── winter.png
│   ├── javascript
│   │   └── app.js
│   └── less
│       ├── controls
│       ├── elements
│       ├── layouts
│       ├── pages
│       ├── theme
│       ├── theme.less
│       └── vendor.less
├── composer.json
├── content
│   ├── placeholder
│   │   ├── layout.txt
│   │   ├── page.txt
│   │   ├── style2.txt
│   │   └── style.txt
│   ├── jeffrey.htm
│   ├── basik.htm
│   └── home.htm
├── layouts
│   ├── default.htm
│   ├── layout_alt_one.htm
│   └── layout_alt_two.htm
├── meta
│   └── static-pages.yaml
├── pages
│   ├── 404.htm
│   ├── error.htm
│   ├── framework.htm
│   ├── home.htm
│   ├── index.htm
│   ├── jeffcon.htm
│   └── plugins.htm
├── partials
│   ├── calcresult.htm
│   ├── explain
│   │   ├── ajax.htm
│   │   └── plug.htm
│   ├── html
│   │   ├── contact.htm
│   │   └── dirtree.htm
│   └── site
│       ├── footer.htm
│       ├── header.htm
│       └── header.htm2.bak
├── README.md
└── theme.yaml

21 directories, 56 files

Basik Diagram

themeName > content > diagram.htm
Visualize this concept
[ end of diagram.htm ]

The Plugin

To Do List

Manage your tasks with this simple ToDo list.

The todolist component used here is provided by the plugin called Winter\todolist, you can find it in the plugins/winter/todolist folder.

The HTML

The HTML markup for this example:

{% component 'todolistTodo' %}

Unlike the AJAX example, components are simple building blocks that can be used with a small amount of code.

Only one line is needed:

[ end themeName/partial/explain/plug.htm ]

Learn more at Winter's Documentation

page: adb.htm