Tasks #97
convert static pages to ezpages
| Status: | Resolved | Start: | 02/{{count}}/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due Date:: | ||
| Assigned to: | Martin Rademacher | % Done: | 100% |
|
| Category: | Framework | |||
| Target version: | 0.9.13 |
Description
With lang support for ezpages there is no reason to stick with static pages. Convert (load) all default static pages into the db (new sql patch?) and change the templates to pull ezpages
Associated revisions
Revision e3c3df859f41aac63115f0d951bef1a64c37b4c7
refs #97; add getPageForName() method, add optional parameter to getAllPages to allow to select all, pages, static
Revision 82d330c580dbae66de625d39aca4d4ca331472de
refs #97; add new generic content edit page and stripped down edit for static pages, add support for new setting 'zenmagick.apps.store.staticContent' to pull static content from the db
Revision 0dc5657a5f3abfbb5f896bf79c58c9381de97c1d
refs #97; fixes
Revision 176efe6aa688de1fe3c43feb2f43227eada118f2
refs #97; make things mostly work
Revision 5bf59442dd8f6770f49f4a9b08aed00e93c08463
fixes #97; add option to import static page contents as ez pages
Revision 76545052a58a5e35e039485389e7a1ce2ea50278
refs #97;
- fix some static page formatting,
- add $settings to vars provided executing static content
History
Updated by Martin Rademacher 8 months ago
- Status changed from New to In Progress
page_title should be used as 'name' and a new service method findForTitle added to lookup pages ideally, all this can be done internally without changes, status_* columns should be set to '2' to hide things from zencart
Updated by Martin Rademacher 8 months ago
statustoc is going to be the defining status[xxx] column to be looked at - getAllPages() in ZMEZPages will exclude all rows with a status_toc > 1
Updated by Martin Rademacher 8 months ago
allow to opt-in into new behaviour by setting 'zenmagick.apps.store.staticContent' to true
Updated by Martin Rademacher 8 months ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset 5bf59442dd8f6770f49f4a9b08aed00e93c08463.
Updated by Martin Rademacher 5 months ago
- Status changed from Resolved to In Progress
reopened since there is some sql needed to convert current static content to static content
Updated by Martin Rademacher 5 months ago
- Status changed from In Progress to Resolved
my bad - there is already a separate installation option; however that was broken for the default static page content
Updated by Johnny Robeson 5 months ago
is it possible to change it so one could fallback to to the existing files if the database hasn't been converted?
even better would be to only convert them when edited, but that might take too much time.