A range of screenshots of JSnippets administrative pages and in action.

The JSnippets module can be used to insert code snippets, general text templates and so on into specified Drupal textareas. Snippets can be related to textareas in forms, using the element ID of the textarea and the form ID of the form. These can be obtained by way of the JSnippets section button which should be visible above all textareas for users with the 'administer jsnippets' permission. Only users with the 'use jsnippets' permission are allowed access to the snippets.

This module uses JavaScript in combination with XMLHTTP and JSON to retrieve and insert the snippets. It will not work without JavaScript.

Example use cases:

  • Inserting canned (consistent) comments / replies to users.
  • Library of PHP code snippets.
  • Create templates for administrative fields such as site off-line messages

Bug reports and other feedback are always welcome.

Initially sponsored by: Chris Meryck.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.1 tar.gz (14.94 KB) | zip (17.46 KB) 2010-Nov-26 Notes

Other releases

Version Downloads Date Links
7.x-1.0-alpha1 tar.gz (15.73 KB) | zip (18.22 KB) 2012-Jan-12 Notes

Project Information


Maintainers for JSnippets

  • Zen - 57 commits
    last: 1 year ago, first: 7 years ago

Issues for JSnippets

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here