A Global Bloc or Bric that can be used in the Dynamic area of any page, that when edited, reflects across all instances of the Bloc or Bric across the site.
Use cases:
Price list
Important notice
Call to Action
…Any item that is shown on more than one page
Making editing more efficient, not having to change it on every single page.
This is a great idea and one if its not in a bric, could be implanted into Blocs - @Norm - maybe this could be something to bring into Blocs?
I remember using another platform and they had the same type of things.
So if I did this in Blocs it would work like:
Open the Global Bric which could be like a DIV, and place the bric i want inside.
I edit the bric, and as @simonclay has said, do a price list, maybe a latest offers list
That first one would have a unique ID I would give it like: Clearance
I would then duplicate this throughout the website and the bric with the same ID would change on each page.
On my old website a few years ago I would have equipment say for example a speaker I would hire out, If this speaker needed replacing with an image of a new one and text as we no longer had the old one, i would change it on one page and all the pages that had the image of that speaker in would change - it was great and so so simple.
Taking this method further - is this something maybe Jannis @Jannis could bring into Volt? - would be so simple for the client to change then.
Isn’t the structure already in place with headers and footers in their global areas? - so this should be made possible to bring in other areas…I hope !
While that is true and a very easy way to achieve this if you already have Volt CMS, it might be a bit of an investment to purchase Volt CMS solely for that reason. I do agree, that a simple global bric sounds like a jolly good idea.
Thanks people. Yes, Volt CMS would a little overkill for this instance.
But Global Bloc would be an efficient timesaver!
Currently I am getting round it by writing custom html files, eg: price-list.html, including it in Project Attachments, then pulling it into any page with a Code Widget containing: <?php include 'blocs-includes/price-list.html';?>
This was talked about some time ago. I think it would be great. I also use another system that allows you to create a “bloc” and then copy it to another page. You can then set that “bloc” to be linked to the other one and any changes are reflected across them. It’s very handy.
I agree - this is something many have asked for a lot and one I would love to bring into my projects moving forward as something I have used in the past. We are seeing global changes with classes, colours and footers and headers…so I would love to see this as the next step if possible @norm!
How I see this working:
A bloc is created anywhere on the website that the user wants it to be replicated on the website.
This bloc is given a global ID like : global1 (then 2, 3 , 4 etc…)
On another page you want this bloc to mirror - you drop the new global copy bloc that @Norm (will) has created !!! - which has no sizes or styles but purely is a bloc you drop it and give it the ID: global1copy
The website can have several of these if its large site - example, if a company do a lot of promotions then this bloc can be edited or new photo of a promotion and it globally replicates over where the global copy bloc with that ID is.
But after all the hard work from @Norm creating this slice of wizardry is that developers can make the original bloc with the ID to be fully compatible with Volt from @Jannis and the user can drop some text in for a promotion of new images for a seasonal sale or new members of a board or employee of the year …yes the list is endless ! and BOOM! 1 change on 1 page, replicates throughout the website…@jannis would this be possible ???
@Helen - cut that 4 week all inclusive cruise in the Caribbean to a weekend at Blackpool as Norm has some coding to do !
You’re already now able to place the same Volt content area on different pages, and when editing on one page, it will automatically be changed on the other pages. So nothing has to be added there for Volt CMS, it already works.
Fab - to be honest, never tried that !!! just created a section to be edited and then logged into other pages to edit them - never knew changing it on one would replicate through others.
I’ll give this a go ! - any tips? or replicate that bric on other pages and it will work?
I’m also a big advocate for global blocks—things such as CTAs, contact forms, and price lists that can be reused across multiple pages on a site.
Think of it like how React or Next.js components work, or the way Divi’s theme in WordPress lets you convert sections or blocks into global elements. Another great example is Page-grid’s ability to make anything global.
I would be even more cool if we can overwrite variables such as titles or images used in that block. Again: Think of it like how React or Next.js components work.
This is a feature I deeply miss in Blocs, and it’s one of the main reasons I don’t use it in production.