Magento – Import/Export CMS Pages / CMS Blocks

cmsimport

Does anyone know any modules that can be used to import/export cms pages (and blocks) in CE?

The scenario I am looking at now is:

  • users (content editors) create pages/blocks with content on a staging website (cloned after live site, different db, different servers)
  • after the pages are being validated, the users create the pages again on the live site (copy-pasting)

Some things to take into consideration:

  • it shoudn't keep a reference to the store views by IDs, rather use the store view code
  • duplicate pages on import should be identified by url key and store views

Best Answer

On the last Hackathon we developed a module which will help you to achieve this:

https://github.com/magento-hackathon/firegento-contentsync

It will store the content in a json file, which can be synced to another server (already integrated are git and svn support). It still uses the store views by ID, but pull requests are strongly appreciated. ;)

Related Topic