Managed Snippets Plugin

    Summary

    The Managed Snippets plugin is a plugin dedicated to the management of HTML/JS/CSS code snippets in a Jive powered community.  This plugin is a branch of the Featured Ad Widget originally released in the SBS Widget Pack - Plugin.

     

    Official plugin of Plugins by ryanrutan

     

    Requirements

    Jive SBS 5.0.x - Managed Snippets Plugin 1.0.0

    Note:  Compiled on 5.0.3; however, should be compatible with 5.0.x.  Unable to validate compatibility against previous versions at this time.

     

    Installation

    Plugin install through Admin Console, with optional configurations in the Admin Console under System > Settings > Manage Snippets

     

    Plugin Support

    This plugin IS NOT supported by Jive, and use of this plugin should be done at the user's discretion, or as advised by their Jive Support representative.


    Copyright and License

    Copyright 2012 Ryan Rutan under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License

    Features

     

    • Admin Features:
      • Admin Console Configuration UI (see below)
      • Centrally managed HTML / JS / CSS Snippet Repository
      • Reference code distribution, ensures single sourced code base, simple end-user instruction, and locating place references.
      • Quick Copy Snippet Feature
      • Delete Snippet Feature - since 1.0.1.0
      • Admin Managed so IFrames and 3rd Party JS are allowed!
    • Snippet Features:
      • Global Disable - Hide all occurrences of a snippet with one action
      • Hide Border - Hides the default border around the widget
      • Allow In Webpage - Use Snippets to Create an Entire HTML Page with a clean /snippets/<SNIPPET_NAME> - since 2.0.0.0
      • Allow In Content Control - Embed HTML/JS/CSS into content.  You tell me how you plan to use it! - since 2.0.0.0
      • Allow In Widget - Allow Snippets to be Used in Widgets - since 2.0.0.0
      • Private vs. Public Snippets - Control where your snippets are used in the Community - since 2.0.0.0
      • Parameterized Snippet Filter for Content Embedded
        • Parameterize your Snippets for Optimal Re-Use
      • Javascript Environment Context Variables available for Dynamic Snippets
        • Add container properties to Container to expose customizable context variables (see: Plugin Admin Screen, footer)
    • Widget Features:
      • Custom Title (if Hide Border not enabled)
      • Simple one-field widget configuration
    • Utilities
      • View Snippet Feature - since 1.0.1.0

     

    Quick Tutorial:

    • Go to the Admin Console > System > Settings > Manage Snippets
    • Create a new snippet, and Save
    • To install, simply have end-users use the Managed Snippet widget, located under the "Other" widget category for all place types, and paste in your snippet ID.
    • Done!

     

    Suggestion:  You can create a catalog of snippets and document them in your community with a simple document. 

    This increases your off-the-shelf widget catalog tremendously!

     

    Screenshot(s):

    Screen Shot 2013-05-17 at 4.54.53 PM.png Screen Shot 2012-07-17 at 1.42.51 PM.png

     

    Known Issues

    • None