New Zenner
- Join Date:
- Dec 2010
- Posts:
- 31
- Plugin Contributions:
- 0
admin/includes/boxes elimination in 1.5.x
Following swguy's hint about the elimination of admin/includes/boxes in 1.5.x (and the associated *_dhtml.php files), I compared email_archive_manager_1-6 to email_archive_manager_17_zc1-5 and the only substantial difference I found was the mapping of email_history_tools_dhtml.php:
$za_contents[] = array('text' => BOX_CUSTOMERS_EMAIL_HISTORY, 'link' => zen_href_link(FILENAME_EMAIL_HISTORY, '', 'NONSSL'));
to email_archive.sql:
INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('emailArchive', 'BOX_TOOLS_EMAIL_ARCHIVE_MANAGER', 'FILENAME_EMAIL_HISTORY', '', 'tools', 'Y', 999);
When trying to migrate a module like the Downloadable Product Licensing and Subscriptions Module I can probably figure out how to map "$za_contents[]" to "INSERT INTO admin_pages" using the example above.
But unfortunately the Downloadable Product Licensing and Subscriptions Module is more complex than that Email Archive Manager example and so I am not sure how I can port/map the rest of the code to .sql.
Where can I find more information about the inner workings of the migration from the 1.3.x admin boxes to the 1.5.x ones?