
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
refinerycms-global-content-blocks
Advanced tools
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.
Add the gem to your gemfile
$ gem 'refinerycms_global_content_blocks'
Then run bundle install and restart your server
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
Unknown package
We found that refinerycms-global-content-blocks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.