Block Shortcode
Categories
Component ID
2219069
Component name
Block Shortcode
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Easily embed Drupal blocks in nodes, other blocks, or anywhere text formats are allowed using the Shortcode syntax common in Wordpress.
Why?
We've often come across situtations where we need to place a block on a page somewhere that Drupal's regions wouldn't allow (e.g., within paragraphs of text in a Node). The shortcode syntax provides a straightforward, secure way to do this.
How?
- Enable the module.
- Add the Block Shortcode filter to any desired text format.
- Now anytime you want to embed a block, copy the shortcode example from the Block's configuration page and paste into the place you want the block to appear.
