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.
Comments
Comment #1
andyf commentedHi,
Do you think you could get the same effect by creating a content type
node_snippets, and then using something like Node Reference/Embed Media Browser or InsertNode to insert the 'snippet' into a page/whatever?Comment #2
klausi* there is a .gitignore~ backup file in the repository, remove it
* Don't mix "Implements hook_xxx()" and "Implementation of hook_xxx()", be consistent
* node_snippet_replace_schema() doc block has a newline next to the function, should be removed. Also on other functions in the module file.
* "Implements hook_schema" should be "Implements hook_schema()". Also on other hook doc blocks.
* "@see node_snippet_replace_menu" should be "@see node_snippet_replace_menu()"
Comment #3
misc commentedThe applicant has been contacted to ask if the application is abandoned.
http://drupal.org/node/894256
Comment #4
misc commentedThe application has been closed. If you would like to reopen it, you are free to do so.
See http://drupal.org/node/894256#abandonedtwoweekscontact