Local JSON file

Hello Bricks Developer,

Is that possible to make a Local JSON feature like ACF did?
Reference : ACF | Local JSON

The things is save all Bricks Builder data on the local json file, and when we do some update on the page or template (included settings of the page / or template itself), it’ll update it on the json file.

If this is possible, we can start development on localhost and sync it with git, any changes on localhost will saving at json file, and when we pushed to the git, it’ll update on the git and ready to deploy on the production site.

10 Likes

I hope the devs read this, please consider if it’s useful :smiling_face_with_tear:

@thomas @timmse :pray:

4 Likes

+1 for this!
It will simplify maintenance of website in the long run.
The dowside of builder (like ACF for custom field, or Bricks/Elementor for theme builder) is that the “code” is in the database.
This feature will bring back “code” to “code” so we can version control it.

2 Likes

Oooh this is a good idea. I always struggle as developing on local introduces weird things to the DB that I don’t want when I go live.
This would allow me to pass a clean design to the live site.
Has anyone added it to the Ideas list?

2 Likes

I already added it to Idea list, but i think the development team has a lot more to do with the current roadmap

1 Like

Is not in the list of “IdeaeList” or at least searching for “json” give nothing

I think they have a moderation for approved the submit ideas, not really sure about it
but i believe i’ve submit this idea

1 Like

Not all ideas are accepted. I believe the Bricks team do some evaluation of ideas before accepting them. I have certainly raised quite a few that never see the light of day.

I have also submitted this idea, just to be sure!

1 Like

Thanks for re-submitting the idea; this one will be a game changer for page builders.

1 Like

Im wondering if changing the title of this post can help folks that do not use ACF to understand the feature better.
It could help get traction here in forum.
“Save bricks template to JSON file, to let version control them” maybe is more easy to grasp …

Well I framed it slightly differently as I don’t use ACF.
Just asked for a local page export to allow backups or in my case the ability to move a design cleanly to a new site. So implies an import ability too. All design elements, styles and classes etc would have to be included - which makes it more complicated.
Lets see what they say.

2 Likes

any updates?
hope dev can see this

1 Like

This feature will help with migration of updates.

When fully used this feature means that all Bricks template are saved as JSON file to a specific directory every time you click Save in the builder.
Let’s assume “wp-content/bricks-templates” is the directory.

Then, when the frontend page is rendered , the Bricks code instead of getting all templates from DB it look for that directory.

This means that, if we do updates to Bricks template in a dev or staging environment, when it’s time to migrate changes to production we can simply replace the “wp-content/bricks-template” and boom.

1 Like

Yes, that’s the idea, it’ll really helpful when using a git

2 Likes

I’d love to see this feature as well. It’d be great if I can set things up so anything exportable from/importable to Bricks automatically goes to a specific place in my project’s file system. Then I could version control changes to templates/etc, and also if working in a team become aware of other people’s changes to those things.

Similar to ACF’s Local JSON as somebody else has mentioned in this thread.

2 Likes

This is an excellent idea and aligns with something I’ve been considering lately. We’re currently working on a large eCommerce store, and while tools like WooCommerce are making progress with separate tables for orders, there are still elements – such as Bricks Builder templates – that are stored in the database. This poses challenges when syncing between staging (local) and live environments. Storing Bricks Builder data in JSON files would provide a more efficient solution in this context.

I support it! :+1:

This is a very useful feature. The ways of practical application may be different.

The only drawback is that the disk is slower than the database and RAM.

Without knowing about this feature request, I have developed this functionality as a stand alone plugin and plan on releasing this month. If you are interested, please check out brickssync.com for the temporary landingpage where you can subscribe to my mailinglist to stay in the loop when it’s being released! :slight_smile:

1 Like

Glad to hear, just subscribed

1 Like

Brickssync (which adds local JSON capabilities) has been Launched! There is Founder pricing online for the first week or the first 100 licenses sold, whichever comes first. Please check it out at https://BricksSync.com

1 Like