Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Node Snippet Replace

Node Snippet Replace allows those with permission to create Node Snippets which can then be inserted into nodes.

Why Is This Useful?

Administrators can create a snippet of common content that a user with little technical knowledge can use when creating content.

How It Works

When a snippet is created, an actual file is created. When a node is loaded, Node Snippet Replace, through a hook uses Regex to find tags. ( {{tag-name}} )

The hook then replaces the tag with the content from the snippet. The content is cached for quick access.

Project information

  • Created by lang14 on , updated