October CMS

Get back to basics

Variables in WinterCMS October CMS

Here's how it breaks down:

✅ What’s working:

You set the variable in the Layout:

twig
{% set layout_name = "layout_default" %}

And then access it in the Layout itself:

twig
<p>Layout in use: <code>{{ layout_name }}</code></p>

That’s why it renders correctly there.


🧩 What’s going wrong in the Partial:

If you include a Partial from within a Page (not the Layout), it won’t inherit layout variables like layout_name by default.

Why?
Because WinterCMS isolates scopes between Layouts, Pages, and Partials. Layout-scoped variables like layout_name are not automatically passed to Partials include...

Makin Bacon Pancakes

How to Create and Use ISO Files on Linux

Author Info

Last Updated: June 6, 2025

|Show more |Show less

X

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 13 people, some anonymous, worked to edit and improve it over time.

This article has been viewed 28,581 times.

Learn how to create, mount, or burn ISO images using Linux. Most Linux distributions come with software to create, mount, or burn ISO images. Using these steps, you will le...

Easy Transitions into AI

Keeping Workforce Human | Easy AI for Your Loyal Partners Keeping Workforce Human | Easy AI for Your Loyal Partners

Human Workforce Transitions | Easy AI for Your Trusted Partners Human Workforce Transitions | Easy AI for Your Loyal Team (sounds like loyalty also)

Human Workforce Transitions | Easy AI for Your Loyal Team (sounds like loyalty also) Human Transitions, “AI is the tool”

“Human Transitions: Making AI Work For you!”

Human Transitions: How AI Works for you.

Bash Environment + Rsync Backup

Here’s a clean, concise note draft for “Bash Environment & Rsync Backup” that captures everything you’ve been setting up:


Bash Environment & Rsync Backup

Overview

This note documents my personal Bash environment setup and how it’s safely backed up to a NAS using rsync. It includes modular .bashrc configuration, Git-aware PS1, LS_COLORS tweaks, aliases, and functions.


1️⃣ Modular .bashrc Setup

  • .bashrc sources scripts from ~/.bashrc.d/

  • Example structure:

How (CG)NAT Centralized Internet

"Because the public IP was yours. That’s the world TCP/IP was built for.

💥 What Changed? Why That Died"

i didn't realize that had died.!!!

ChatGPT said:

Exactly. You lived through the era where TCP/IP worked like it was meant to — where the Internet was end-to-end, dumb routers passed packets, and you could spin up a Quake 3 server on your dial-up box at 3am just to see if you could.

Then, somewhere along the way… we lost the Internet and nobody told us. 😱 What You Missed (Because No One Announced It)

You didn’t miss it because you were out of touch — you missed it because:

ISPs never said...

Add-2-New

Web Tools

It's called VistaCreate

#Linux

CIFS mount

# <file system>       <mount point>        <type>  <options>                                      <dump> <pass>
//mxuni/wd2           /mnt/lan/mxuni       cifs    credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000,nounix,noserverino  0       0

Browser

Firefox Xtn

Balanced and Blue

Chrome Xtn

Theme Cute Frenchie

Dev Tools

JSON

Process formatting JSON Sort

DEBUG

DevContainer Example

"Bite my shiny metal Flask app!" 🧠✨

You’ve built a slick Dockerized Python stack that screams "Dev ready!" Here's a quick breakdown of what you’ve got running—and why it’s chef’s kiss:


🛠️ Stack Breakdown

🐍 Python & Flask App

  • Python 3.11 in a clean slim container ✅

  • venv set up and activated correctly 👌

  • Key libs:

    • Flask, werkzeug → Web framework power 💥

    • mysql-connector-python → DB handshake 🤝

    • pandas, plotly → Data crunch & visualization 🧠📊

    • faker → Mock data wizardry 🎩

🐳 Docker & DevContainer

  • VS Code Dev Container setup with:

    • Port forwarding (5000)

    • Python environment file ...

wn-icon

Using the wn- prefix will allow you to prefix content inside the given tag with an icon:

<strong class="wn-icon-snowflake">Winter is coming.</strong>

Laravel Artisan Plugin Install

Installation

Run the following to install this plugin:

php artisan plugin:install RainLab.Builder

To uninstall this plugin:

php artisan plugin:remove RainLab.Builder

If you are using October CMS v1 or v2, install v1.2 with the following commands:

composer require rainlab/builder-plugin "^1.2"

Schema Conceptual Map

Chat GPT said

"What you were really asking for when you said “an analog to the object types generally associated with movies” was a conceptual map — a set of one-to-one equivalents that let you learn the same lesson the instructor’s teaching, while building something that actually excites you.

Here’s that core analog map you’ve now defined — your translation key between the tutorial and your Potbot theme 🌿:"

...
Movie Tutorial Object Potbot Analog Example Values / Notes
🎬 Movie 🌿 Strain Blue Dream, Gorilla Glue, Pineapple Express
🧩 Genre 🍃 Type Indica, Sativa, Hybrid
🎭 Actor 💧 Compound