JSnippets

Zen - May 21, 2006 - 22:14
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
etc.

Bug reports and other feedback are always welcome.

Initially sponsored by: Chris Meryck.

Releases

Official releasesDateSizeLinksStatus
6.x-1.1-beta32009-Mar-0614.9 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.1-beta2007-Feb-2012.53 KBRecommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.12007-Feb-2011.25 KBRecommended for 4.7.xThis is currently the recommended release for 4.7.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Mar-0714.9 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Mar-3012.53 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2008-Mar-3011.25 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.