Hello,
I had a problem with this module in the following scenario:
1) I installed the module
2) I added a new language
3) I attempted to edit an existing ez page
The new translation would not be updated when submitting my changes. I believe I've resolved the issue by adding the following code to the /admin/ezpages.php file at about line 193 ...
PHP Code:
/** added by applynx -- inserts text if new language **/
$page_query = "select * from " . TABLE_EZPAGES_TEXT . " where pages_id = '" . $pages_id . "' AND languages_id= '" . $language_id . "'";
$page = $db->Execute($page_query);
if ($page->RecordCount() == 0) {
$sql_data_array['pages_id'] = $pages_id;
$sql_data_array['languages_id'] = $language_id;
zen_db_perform(TABLE_EZPAGES_TEXT, $sql_data_array);
}
/** end applynx modification **/
This message applies to Zen Cart 1.3.8a and Multi-Language EZ Page Support module 1.3.0.5v2.02
Bookmarks