the end of static pages
Today I finished the still missing conversion/import of static page contents into (abused) ezpages into the database.
This will be disabled to start with and people keen to use this will have to opt-in manually, but it is good to finally move towards a system where there is only a single storage system (the database) for language specific content.
The admin interface includes a new manage content option – a stripped down version of the EZPage management UI. Content in this new system are just blobs of text with a name and language. Same as static pages (define pages in zencart speak) the name is the identifier and for each language different text can be created/edited.
The new code is controlled by a setting, so no changes to templates are required for now. To opt in the following steps have to be taken:
- Enable the new code by setting ‘zenmagick.apps.store.staticContent‘ to
true. - Run the ‘Import Static Pages’ option from the ZenMagick installation page.
This is a one-off task to get you started; of course you can create all needed content from scratch using the admin UI
