cavin dot name Fractals, Arts, Programming & Rambles

Content Structure & Features

Every page on a CSE_CMS v2 site is simply a file or folder inside a 2-letter language directory (e.g. en/, fr/, de/).

  • Titles are generated automatically from file/folder names: underscores (_) become spaces and extensions (.md, .txt, .html, etc.) are stripped.
  • Hidden files starting with a dot (.) are ignored by navigation, search, and sitemaps.
  • Unlimited nesting: Folders can be nested to any depth.

Supported File Types

File TypeBehavior
.md (New in v2)Parsed natively with a built-in zero-dependency Markdown engine (headings, lists, tables, code blocks, blockquotes, links, images). Supports optional YAML-style frontmatter (Title, Author, Date, Summary).
No extension, .txt, .htm, .htmlRendered directly in the page body. Inline <style> and <script> blocks are preserved, allowing interactive HTML5 canvas/JS pages.
.linkInternal or cross-language alias. File contains a relative path such as en/Arts/Plastic_Arts. Displays a language flag badge when linking across languages.
.embedEmbeds an external page in a responsive <iframe> inside the standard layout. Format: link=https://...&text=Short description.
.exbedSame format as .embed, but automatically switches to the full-width exbed layout for web apps and games.
.plugLinks a menu/folder entry to a PHP plugin. Format: name=Plugin_Name&text=Short description.

Markdown Frontmatter Example

---
Title: My Custom Page Title
Author: Your Name
Summary: Short excerpt shown on folder overview cards.
---

Write your content in **Markdown** here!

Special Per-Folder Control Files

  • CSE_content: Customizes a folder's landing page with an optional Title, Prepend news/intro box, ordered Element[]=Blog cards (full article, excerpt length, or custom summary text), and Append footer note.
  • CSE_translate: Maps the current folder to its equivalent in other languages so clicking a flag jumps directly to the translated section (e.g. fr: fr/Arts/).
  • CSE_hot: Placed in a language root (en/CSE_hot), lists relative paths (one per line) shown in the sidebar's Hot Links panel.
  • CSE_Gallery.txt: Turns any folder into a Picture Gallery. Supports nested subfolder chapters, an optional intro.txt, automatic GD thumbnail generation in tn/, and a keyboard-navigable vanilla JS lightbox.
  • CSE_lock: Restricts a folder (and all its subfolders) to authenticated users whose account has all_access => true or a matching numeric group ID. Locked folders are automatically hidden from the Table of Contents, search results, and sitemap.xml.

Inline Page Comments

Place the exact marker <!--CSE_COMMENTS--> anywhere inside an HTML or Markdown article to display its archived comments and (when enabled in config.php) an anti-spam-protected comment form.