New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

refinerycms-global-content-blocks

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

refinerycms-global-content-blocks

  • 0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

refinerycms_global_content_blocks

Small RefineryCMS engine for adding global content blocks. Something like this is quick to create yourself, but putting it out there to save anyone a few minutes.

My RefineryCMS template gem is current in development, when it is ready this gem will be of more use, allowing CMS users to place global content blocks in templates much like CMSMS does.

Installation

Add the gem to your gemfile

$ gem 'refinerycms_global_content_blocks'

Then run bundle install and restart your server

Useage

In the admin area you will be able to see a global content block engine.

The engine comes with a WYSIWYG editor so you can put HTML in the global content block.

Then render the global content block in your layout/view

$ <$= Refinery::GlobalContentBlocks::GlobalContentBlock.find_by_name("name").content.html_safe -%>

FAQs

Package last updated on 17 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc