Now that Scrapbooks are going - How do we access global blocks?
Permalink
I normally create a Scrapbook entry called missing image then use the following to pull back the file
How does this now work with Stacks or the clipboard, and are stacks the best way to add this? I think it would suit a Global Attribute, but that's not possible.
I did use the scrapbook as a global attribute accessible from the entire site but now they are being phased out whats a dev to do??.
$block = Block::getByName('Missing_Image'); $block->display():
How does this now work with Stacks or the clipboard, and are stacks the best way to add this? I think it would suit a Global Attribute, but that's not possible.
I did use the scrapbook as a global attribute accessible from the entire site but now they are being phased out whats a dev to do??.