Michael Janea

 

 

FOUNDATION BUTTONS

Buttons are convenient tools when you need more traditional actions. To that end, Foundation has many easy to use button styles that you can customize or override to fit your needs.

  • Compatible with Foundation 5.0 and up.
  • Available in 66 languages

 

Demo

 

Dependencies

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

 

How to Install

  1. Extract the downloaded file (foundationButtons.zip)
  2. Copy the "foundationButtons" folder to "ckeditor/plugins/" folder
  3. Open the file "ckeditor/config.js"
  4. Add these lines:
    config.extraPlugins = 'widget,lineutils,foundationButtons';
    config.contentsCss = 'https://cdn.jsdelivr.net/foundation/6.2.1/foundation.min.css';
    config.allowedContent = true;
    config.mj_variables_foundation_css_path = 'https://cdn.jsdelivr.net/foundation/6.2.1/foundation.min.css';
  5. Use the toolbargroupname: "FoundationButtons" in your toolbar (see the example below)
    config.toolbar = [
        { name: 'insert', items: [ 'FoundationButtons', 'Source' ] }
    ];
  6. Make sure to clear your browser's cache
  7. Done
  1. Extract the downloaded file (foundationButtons.zip)
  2. Copy the "foundationButtons" folder to "sites/all/modules/ckeditor/plugins/" folder
  3. Open the file "sites/all/modules/ckeditor/ckeditor.config.js"
  4. Add this line:
    config.allowedContent = true;
    config.mj_variables_foundation_css_path = 'https://cdn.jsdelivr.net/foundation/6.2.1/foundation.min.css';
  5. Open the file "sites/all/modules/ckeditor/css/ckeditor.css"
  6. Add this line at the top:
    @import  url('https://cdn.jsdelivr.net/foundation/6.2.1/foundation.min.css');
  7. Make sure to clear your browser's cache
  8. 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 foundationButtons icon to "Current Toolbar" -> click "Save"
  9. Done
Not yet supported
This plugin is not compatible with IPS. IPS strips out <button> tags

 

More Set-up Information

Option Description
config.mj_variables_foundation_css_path

path to your own foundation.css

 

Logs

  • 1.2
    • ADDED: Validation for required fields
    • ADDED: Link default value to 'http://'
    • FIXED: multiple instances bug
  • 1.1
    • ADDED: config.mj_variables_foundation_css_path variable to allow developers to use their own CSS
    • REMOVED: Escape HTML function and use CKEditor's default escaping
  • 1.0.1
    • FIXED: Drupal 7 compatibility issue
  • 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. Foundation Buttons

FOUNDATION BUNDLE

$18.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. Foundation Accordion
    2. Foundation Alert
    3. Foundation Breadcrumbs
    4. Foundation Buttons
    5. Foundation Panel
    6. Foundation Tab

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.