Re: Multi-Language Support for EZ-Pages
We have figured out how to get our multi-language EZ pages working in English and Chinese. Now we are having a problem with the links. Internal and external links work with no problem, however the pages that we translate to Chinese do not open. Instead, we are redirected to a completely different website. I think it has to do with a template that the developers downloaded somewhere but I am not sure and do not know where to change the settings.
I have checked all the files that would have been affected by a new template, language pack, and multi-language EZ page module and have found one occurrence of the url in /includes/languages/chinese/index.php where it appears after this line:
Code:
} elseif ($category_depth == 'nested') {
but I don't think that's the right file.
Any ideas?
Re: Multi-Language Support for EZ-Pages
hi
I installed your add on , I have french and english languages
I run the fix patch but still I don't have any more the title in my top menu bar of my ez pages
how I put thoses links back
thanks
eric
Re: Multi-Language Support for EZ-Pages
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
Re: Multi-Language Support for EZ-Pages
I use multilingual ez-pages with min. modification of zen cart and no mod installed.
ZenCart - 1.3.8a
DB encoding - utf8_unicode_ci
site encoding - utf8
changes in includes/modules/ezpages_bar_header(footer).php
$lang = $_SESSION['languages_id'];
$page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_header = 1 and languages_id = $lang and header_sort_order > 0 order by header_sort_order, pages_title");
I create 3 ezpages "Home" for 3 different languages with names and content, corresponding to each language and same sort order.
There is in DB a "language_id" field (default=1). Change this value to 2, 3 etc. which is ID of desired language.
I can add in admin few fields in EZpages - create/edit/control pages to enable choice, sort order and language select from admin, without direct edit of DB, but I have no time to do this.
This works for me fine.
Sorry if my post looks funny for you.:wink:
Re: Multi-Language Support for EZ-Pages
I installed the latest version. I read the readme.txt file and followed the instructions.
After clicking install link from tools->install/uninstall multilanguage EZ-pages, all my Ez-pages links disappear from the header and footer and every where..
I used fix/repair -link tools->install/uninstall multilanguage EZ-pages and I get:
3 pages now need translations to be fixed from Admin > Tools > EZ-Pages.
I have done all the translations but I keep getting the message when using fix/repair -link. And all the links stay invisible..
Any help available??
Thanks in advance!
Re: Multi-Language Support for EZ-Pages
Hello, I have installed the module. From the readme.txt I read this as installation instructions:
Quote:
Step 1. Go to Admin > Tools > Install/Uninstall Multi-Language EZ-Pages and click the link for Uninstall. This transfers page titles and html content for your default language back into the regular ezpages table, and then drops the ezpages_content table. After this step you MUST replace the file admin/ezpages.php with an original file from your Zen Cart installation package or your ezpages admin page WILL NOT FUNCTION.
I go to the admin pangel, I see no "Install/Uninstall Multi-Language EZ-Pages" under "Tools" menu.
When I go to E-Z Pages I get this error:
Quote:
1146 Table 'metrofarmacy.TABLE_EZPAGES_TEXT' doesn't exist
in:
[select count(*) as total from ezpages e, TABLE_EZPAGES_TEXT et where e.pages_id = et.pages_id and et.languages_id = '2']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I need English/Greek support on my website but I'm a bit confused on how make this module work :-(
Re: Multi-Language Support for EZ-Pages
Quote:
Originally Posted by
atmosx
Hello, I have installed the module. From the readme.txt I read this as installation instructions:
I go to the admin pangel, I see no "Install/Uninstall Multi-Language EZ-Pages" under "Tools" menu.
When I go to E-Z Pages I get this error:
I need English/Greek support on my website but I'm a bit confused on how make this module work :-(
I did a not install some files. Now works :clap:
Re: Multi-Language Support for EZ-Pages
Hello Everyone,
Please help.
I have a real problem here. My page and admin aren't accessible anymore...I didn't change any core files for at least one week now. Yesterday all worked:
Here is the problem:
When i open my site it says like this:
TagLine Here
1146 Table 'pasjazvezd_zvezda.TABLE_EZPAGES_TEXT' doesn't exist
in:
[select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, e.toc_chapter, et.pages_title from ezpages e, TABLE_EZPAGES_TEXT et where e.pages_id = et.pages_id and et.languages_id = '2' and status_header = 1 and header_sort_order > 0 order by header_sort_order, pages_title]
And if i open ADMIN PAGE:
Warning: dir() has been disabled for security reasons in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php on line 22
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/includes/functions/sessions.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/init_includes/init_templates.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/functions/general.php on line
Does anyone have any clue what is going on here. I allready tried to upload backup mysql base and core files for includes and whole admin core files, but it is the same... i am totally clueless...
Regards,
MAtic
Re: Multi-Language Support for EZ-Pages
SOLVED. My hosting provider increased security level on php and didn't told me :/
Bye..
Quote:
Originally Posted by
RenStar
Hello Everyone,
Please help.
I have a real problem here. My page and admin aren't accessible anymore...I didn't change any core files for at least one week now. Yesterday all worked:
Here is the problem:
When i open my site it says like this:
TagLine Here
1146 Table 'pasjazvezd_zvezda.TABLE_EZPAGES_TEXT' doesn't exist
in:
[select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, e.toc_chapter, et.pages_title from ezpages e, TABLE_EZPAGES_TEXT et where e.pages_id = et.pages_id and et.languages_id = '2' and status_header = 1 and header_sort_order > 0 order by header_sort_order, pages_title]
And if i open ADMIN PAGE:
Warning: dir() has been disabled for security reasons in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php on line 22
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/includes/functions/sessions.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/init_includes/init_templates.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/initsystem.php:22) in /home/pasjazvezd/domains/pasjazvezda.si/public_html/mojemesto/includes/functions/general.php on line
Does anyone have any clue what is going on here. I allready tried to upload backup mysql base and core files for includes and whole admin core files, but it is the same... i am totally clueless...
Regards,
MAtic
Re: Multi-Language Support for EZ-Pages
Hello,
Installed the package and now content of easy pages is gone. do have links in footer and hearder working fine. They navigate but there is no content. Why?
Thanks.