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 Type | Behavior |
|---|---|
.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, .html | Rendered directly in the page body. Inline <style> and <script> blocks are preserved, allowing interactive HTML5 canvas/JS pages. |
.link | Internal or cross-language alias. File contains a relative path such as en/Arts/Plastic_Arts. Displays a language flag badge when linking across languages. |
.embed | Embeds an external page in a responsive <iframe> inside the standard layout. Format: link=https://...&text=Short description. |
.exbed | Same format as .embed, but automatically switches to the full-width exbed layout for web apps and games. |
.plug | Links 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 optionalTitle,Prependnews/intro box, orderedElement[]=Blogcards (full article, excerpt length, or custom summary text), andAppendfooter 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 optionalintro.txt, automatic GD thumbnail generation intn/, and a keyboard-navigable vanilla JS lightbox.CSE_lock: Restricts a folder (and all its subfolders) to authenticated users whose account hasall_access => trueor a matching numeric group ID. Locked folders are automatically hidden from the Table of Contents, search results, andsitemap.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.