Skip to content

This Magento 1 module is a bridge for the Sitewards setup system to allow the import and export of CMS pages in Magento 1.

License

Notifications You must be signed in to change notification settings

sitewards/setup-mage1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sitewards Setup Magento1 Bridge

This Magento1 module is a bridge for the sitewards setup system to allow the import and export of content and configuration in Magento1.

Architecture

This module contains a bin script and an implementation of the main module's page repository interface.

bin/setup

  • Inject the Magento1 bridge into the main application,
  • Run the main application,

Application/Bridge.php

  • Initialise the Magento1 Application,
  • Build the Magento1 specific page repository,

Repository/PageRepository.php

  • Requires the Mage_Cms_Model_Resource_Page_Collection class,
  • Implement the find and save methods from the main application,

Commands

Current commands are as follows:

Export

Export page(s) from Magento1 to JSON format.

bin/setup page:export [<pageID>] [<pageID>] ...

Import

Import page(s) from JSON to Magento1.

bin/setup page:import

Authors

About

This Magento 1 module is a bridge for the Sitewards setup system to allow the import and export of CMS pages in Magento 1.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages