Michael Janea

 

 

BOOTSTRAP PANEL

While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.

  • Compatible with Bootstrap 3.* and 4.0.
  • Available in 66 languages
  • Manage content using popup CKEditor

 

Demo

 

Dependencies

It requires the following plugins to work: Widget and Line Utilities.

 

How to Install

  1. Extract the downloaded file (bootstrapPanel.zip)
  2. Copy the "bootstrapPanel" folder to "ckeditor/plugins/" folder
  3. Open the file "ckeditor/config.js"
  4. Add these lines:
    config.extraPlugins = 'widget,lineutils,bootstrapPanel';
    config.contentsCss = 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css';
    config.allowedContent = true;
    config.bootstrap_version = 4;
    config.bootstrapPanel_managePopupContent = true;
  5. Use the toolbargroupname: "BootstrapPanel" in your toolbar (see the example below)
    config.toolbar = [
        { name: 'insert', items: [ 'BootstrapPanel', 'Source' ] }
    ];
  6. Open the file "ckeditor.html"
  7. Configure the CKEditor's options to your own preferences
  8. Update the source path of "ckeditor.js"
    <script type="text/javascript" src="//cdn.ckeditor.com/4.5.9/standard/ckeditor.js"></script>
  9. Make sure to clear your browser's cache
  10. Done
  1. Extract the downloaded file (bootstrapPanel.zip)
  2. Copy the "bootstrapPanel" folder to "sites/all/modules/ckeditor/plugins/" folder
  3. Open the file "sites/all/modules/ckeditor/ckeditor.config.js"
  4. Add these lines:
    config.allowedContent = true;
    config.bootstrap_version = 4;
    config.bootstrapPanel_managePopupContent = true;
  5. Open the file "sites/all/modules/ckeditor/css/ckeditor.css"
  6. Add this line at the top:
    @import  url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css');
  7. Open the file "sites/all/modules/ckeditor/plugins/bootstrapPanel/ckeditor.html"
  8. Configure the CKEditor's options to your own preferences
  9. Update the source path of "ckeditor.js"
    <script type="text/javascript" src="//cdn.ckeditor.com/4.5.9/standard/ckeditor.js"></script>
  10. Make sure to clear your browser's cache
  11. Go to your Drupal's admin side -> Configuration -> Content Authoring -> CKEditor -> Profile -> Choose any profile you want and click "Edit" link -> Editor Appearance -> Available buttons -> Drag & drop bootstrapPanel icon to "Current Toolbar" -> click "Save"
  12. Done
Not yet supported
  1. Go to your IPS's admin side -> Customization -> Toolbars -> Add Button -> browse bootstrapAlert.zip -> click "Save"
  2. Go to your IPS's admin side -> Customization -> Toolbars -> Buttons not on editor -> Drag & Drop bootstrapAlert icon to "Editor"
  3. Go to your IPS's admin side -> Customization -> Settings -> Advanced -> Add the following classes:
    • panel
    • panel-success
    • panel-info
    • panel-warning
    • panel-danger
    • panel-primary
    • panel-default
    • panel-heading
    • panel-title
    • panel-body
  4. click "Save"
  5. Go to your IPS's admin side -> Customization -> Themes -> Templates -> open globalTemplate and the following code before </head>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
    <script>
        CKEDITOR.config.mj_variables_bootstrap_css_path = 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css';
        CKEDITOR.config.allowedContent = true;
        config.bootstrap_version = 4;
    </script>
  6. Go to your IPS's admin side -> Customization -> Themes -> CSS -> open core/front/custom/custom.css
  7. Add this line at the top:
    @import  url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css');
  8. Done

 

More Set-up Information

Option Description
config.bootstrapPanel_managePopupContent

set this to true to enable editing content in a popup CKEditor

Default Value: true
Choices: true, false

 

Logs

  • 1.4
    • ADDED: Bootstrap 4 support
    • ADDED: config.bootstrap_version Bootstrap version
  • 1.3.1
    • CHANGED: popup editor layout
  • 1.3
    • REMOVED: Escape HTML function and use CKEditor's default escaping
  • 1.2.4
    • ADDED: nested bootstrap panel support
  • 1.2.3
    • FIXED: HTML tag escaping bug
  • 1.2.1
    • FIXED: multiple instances bug
  • 1.2.0
    • ADDED: new feature which you can edit content using popup CKEditor
  • 1.1.1
    • UPDATE: Greek and English translation (Thanks to Κιοσσές Γιώργος)
  • 1.1.0
    • ADDED: UI language support
  • 1.0
    • Initial release

 

Package Details

INDIVIDUAL 

$3.00

 

  • Free updates for 6 months
  • Full functionality
  • Install on any number of web sites
  • Sell with your product
  • Free support
  • One time payment only
  • Plugins included:
    1. Bootstrap Panel

BOOTSTRAP BUNDLE

$41.00

 

  • Free updates for 6 months (?)
  • Full functionality
  • Install on any number of web sites
  • Sell with your product
  • Free support
  • One time payment only
  • Plugins included:
    1. Bootstrap Breadcrumbs
    2. Bootstrap Buttons
    3. Bootstrap Carousel
    4. Bootstrap Collapse
    5. Bootstrap List Group
    6. Bootstrap Panel
    7. Bootstrap Tab
    8. Bootstrap Alert
    9. Bootstrap Grid
    10. Bootstrap Dropdown Buttons

ULTIMATE BUNDLE

$99.00 (?)

$437.00

  • Free updates for 1 year (?)
  • Full functionality
  • Install on any number of web sites
  • Sell with your product
  • Free support
  • One time payment only
  • Plugins included:
    1. MJ Bundle
      • MJ Accordion
      • MJ Breadcrumbs
      • MJ Buttons
      • MJ Carousel
      • MJ Tab
      • MJ Ribbons
      • MJ Word Art
      • MJ Accordion Banner
    2. Bootstrap Bundle
      • Bootstrap Breadcrumbs
      • Bootstrap Buttons
      • Bootstrap Carousel
      • Bootstrap Collapse
      • Bootstrap List Group
      • Bootstrap Panel
      • Bootstrap Tab
      • Bootstrap Alert
      • Bootstrap Grid
      • Bootstrap Dropdown Buttons
    3. Foundation Bundle
      • Foundation Accordion
      • Foundation Alert
      • Foundation Breadcrumbs
      • Foundation Buttons
      • Foundation Panel
      • Foundation Tab
    4. Social Media Bundle
      • Facebook Like
      • Facebook Share
      • Twitter Share
      • Google +1
      • Google+ Share
    5. jQuery UI Bundle
      • jQuery UI Accordion
      • jQuery UI Tabs
    6. Semantic UI Bundle
      • Semantic UI Accordion
      • Semantic UI Tab
      • Semantic UI Icons
    7. Text Shadow
    8. Box Shadow
    9. FontAwesome Premium
    10. Nivo Slider
    11. BlueImp Gallery
    12. YouTube Search

CONTACT ME

Your opinion is important to me. Take part on my goal to continuously improve my work by giving your suggestions and comments. You may also send your concerns or inquiries here.