Changing HTML blocks to Content Blocks

Permalink
Without thinking, I built out a site using all html blocks. Now that the client wants to edit them, I realized I should've built it out using all content blocks. Is there an easy way to switch this? maybe in the database?

 
Mnkras replied on at Permalink Reply
Mnkras
not in the database, I would either make a script (advanced) or just c&p the html
carlos123 replied on at Permalink Reply
Well how do you like that?

I just created a nice how-to on how to do the kind of moving from one block to another that you are talking about (in my case I moved a bunch of material inside the standard Contact block to a Content block that I created which is much better than the one with TinyMCE).

No need to create a script or anything.

Just export your database as is to a dump sql file, go in and search and replace some things, and then run the changed sql on your database.

Easy as pie.

If you follow the instructions.

I am not ready to make my how-to available publicly just yet but give me a couple of days to post it at my site and I will post a link here.

Carlos

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.