Forums / All Other Contributions/Addons / Multi-Language Support for EZ-Pages

Multi-Language Support for EZ-Pages

Views: 91,636

Results 101 to 120 of 298
27 Dec 2007, 10:58 PM
#101
erwin208 avatar

erwin208

New Zenner

Join Date:
Nov 2005
Posts:
44
Plugin Contributions:
0

Multi-Language Support for EZ-Pages

just installed this mod. Works fine except the "breadcrum" pard. The name of the EZ-page appears twice. So I get "Home >> EZ-page 1 >> EZ-page 1

its a 1.3.7 shop

any idea's?

15 Jan 2008, 7:00 PM
#102
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

I just installed the module and get array string instead of the title on the header.
I also tried and added all old ezpages title and page content for each languge, but that did not help.

Even all new ezpages I create give the array string.

I use Zen Cart v1.3.7.1/v1.3.7.1.

I also have css_horizontal_drop_down_menu_1.4 module installed if that matters?

What could be the cause or what should I check?

marksu

bunyip:

apologies for the error in the table name...the result of a last-minute change of mind about the table name.

It works fine for me on two separate installations - but if there was some original content in the ezpages table that was copied into the new table by the sql patch I provided, you need to manually add the rows for the additional languages (else you just get the word Array in place of the link). I may have to rethink the inclusion of that in the sql patch and perhaps include a php install file that will populate the new table for all installed languages (but each page will have the same title/content for each language until edited).

15 Jan 2008, 7:26 PM
#103
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

more info>

zen_ezpages has on all title fields string array.
zen_ezpages_content table has the corrent data.

Below is screenshot

As you see the page header links and right sidebox shows string array.
The page content the otherhand is OK and even the content heading.

16 Jan 2008, 8:51 PM
#104
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

Has newest multiple language ezpages module gone bad?

I tested it agents a clean Zen Cart v1.3.7.1/v1.3.7.1
Same problems with the array string.

The clean intallation had no ezpages so I created one and it got same array problem.

Some reason the table zen_ezpages title field is updated with string "array"
but zen_ezpages_content seems OK.

Is this a major bug?

marksu

18 Jan 2008, 7:25 PM
#106
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

OK problem solved.
Instruction did not menssion that the folder COMMON in modules folder has to be renamed to template name.

That solved the issue.

EDIT: well allmost.
The header product category line is OK but the menu to extent with ezpages still shows in the old table values.
Same problem wit ezpages box.
Well propaply some other files missing that I need to check?

marksu

9 Feb 2008, 6:41 PM
#107
nugar avatar

nugar

New Zenner

Join Date:
Sep 2007
Posts:
21
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

marksu:

OK problem solved.
Instruction did not menssion that the folder COMMON in modules folder has to be renamed to template name.

That solved the issue.

EDIT: well allmost.
The header product category line is OK but the menu to extent with ezpages still shows in the old table values.
Same problem wit ezpages box.
Well propaply some other files missing that I need to check?

marksu
Hello marksu,

Did you solve the problem? I'm having the same problem at my site. Also, I can't find the modules COMMON folder, what's your path to that folder?

Thanks in advance,

Humberto

18 Feb 2008, 8:56 PM
#108
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

Nugar:

Hello marksu,

Did you solve the problem? I'm having the same problem at my site. Also, I can't find the modules COMMON folder, what's your path to that folder?

Thanks in advance,

Humberto

Yes I solved it.
Sorry for my bad writing I ment folder named CUSTOM and not COMMON.
It is under modules folder. Rename it to your template name.
That fixed my problem.

Sorry for my late reply.

EDIT: is your problem in header product category line or menu?
I presume the header product category line as the menu problem was coused by incopatibly issues with a menu module.

marksu

24 Feb 2008, 1:56 PM
#109
nugar avatar

nugar

New Zenner

Join Date:
Sep 2007
Posts:
21
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

marksu:

Yes I solved it.
Sorry for my bad writing I ment folder named CUSTOM and not COMMON.
It is under modules folder. Rename it to your template name.
That fixed my problem.

Sorry for my late reply.

EDIT: is your problem in header product category line or menu?
I presume the header product category line as the menu problem was coused by incopatibly issues with a menu module.

marksu

My problem is in the left column menu, but it seems to appear in the header too if I activate it.

24 Feb 2008, 2:08 PM
#110
nugar avatar

nugar

New Zenner

Join Date:
Sep 2007
Posts:
21
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

marksu:

Yes I solved it.
Sorry for my bad writing I ment folder named CUSTOM and not COMMON.
It is under modules folder. Rename it to your template name.
That fixed my problem.

Sorry for my late reply.

EDIT: is your problem in header product category line or menu?
I presume the header product category line as the menu problem was coused by incopatibly issues with a menu module.

marksu

Well, I did change the CUSTOM folder name and the problem is still there. Maybe I'll manually change the title in the database.

Thanks,

Humberto

29 Mar 2008, 4:25 PM
#111
oculas avatar

oculas

New Zenner

Join Date:
Jul 2005
Posts:
8
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

Hi,

I don't know whether someone has already reported this, but here it goes anyway.

I found after having installed multilanguage_ezpages_1.3.0.5v2.01 the breadcrumbs in my EZ Pages were duplicating my last breadcrumb; for example: Home • Information • Information.

Being an astute follower of the 'Less is more' principle I decided that the last breadcrumb had to go.

Just go into includes\modules\pages\page\header_php.php and go to line #156.
Change:
$breadcrumb->add($var_pageDetails->fields['pages_title']);

to:
//$breadcrumb->add($var_pageDetails->fields['pages_title']);

and your EZ pages are clutter-free again :-)

Hopefully this saves someone the time it took me to figure this one out.

Regards,

Oculas

9 Apr 2008, 8:20 AM
#112
sand avatar

sand

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

I've installed Zen-cart 1.3.8 and the Multi-Language Support for EZ-Pages module.
I had the same problem as above; on some ez-pages (not all) I had double breadcrumbs. I commented out the $breadcrumb-line as described by oculas and now it works fine.

But I still have a problem:
I have an ez-page link in the important information box to a content page wich works fine.
Another ez-page link in the footer with an internal link to the site map also works fine.
BUT the ez-page link in the footer to a content page doesn't work. It shows the link and title but the content on the webpage shows the word array. Although in the table the right content is inserted.

Does any one have a clue??

( I'm developing the site here http://85.92.129.70/~sgovers/index.php )

9 Apr 2008, 5:48 PM
#113
sand avatar

sand

New Zenner

Join Date:
Apr 2008
Posts:
5
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

A correction of the last post: I don't have an ez-page link in the important information box. (It is a more information box not an ez-pages box)
So the ez-page link in the footer with an internal link to the site map works fine but the ez-page link to a content page doesn't work. It shows the link and title but the content on the webpage shows the word array. Although in the table the right content is inserted.

13 Apr 2008, 6:12 PM
#114
pheniks avatar

pheniks

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

a_berezin:

Chapter error.

ezpages_bar_footer.php:
Find

// query modified for multi-language support
// $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_footer = 1 and footer_sort_order > 0 order by footer_sort_order, pages_title");
$page_query = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, et.pages_title
from " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et
where e.pages_id = et.pages_id
and et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
and status_footer = 1
and footer_sort_order > 0
order by footer_sort_order, et.pages_title");
// end of modification

> Replace by
> ```
  // query modified for multi-language support
//  $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_footer = 1 and footer_sort_order > 0 order by footer_sort_order, pages_title");
  $page_query = $db->Execute("SELECT e.*, et.pages_title
							 FROM  " . TABLE_EZPAGES . " e 
							   LEFT JOIN " . TABLE_EZPAGES_TEXT . " et ON (e.pages_id = et.pages_id)
							 WHERE et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
								 AND e.status_footer = 1
								 AND e.footer_sort_order > 0
							 ORDER BY e.header_sort_order, et.pages_title");
  // end of modification

ezpages_bar_header.php:
Find:

// query modified for multi-language support
// $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_header = 1 and header_sort_order > 0 order by header_sort_order, pages_title");
$page_query = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, et.pages_title
from " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et
where e.pages_id = et.pages_id
and et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
and status_header = 1
and header_sort_order > 0
order by header_sort_order, pages_title");
// end of modification

> Replace by
> ```
  // query modified for multi-language support
//  $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_footer = 1 and footer_sort_order > 0 order by footer_sort_order, pages_title");
  $page_query = $db->Execute("SELECT e.*, et.pages_title
							 FROM  " . TABLE_EZPAGES . " e 
							   LEFT JOIN " . TABLE_EZPAGES_TEXT . " et ON (e.pages_id = et.pages_id)
							 WHERE et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
								 AND e.status_header = 1
								 AND e.header_sort_order > 0
							 ORDER BY e.header_sort_order, et.pages_title");
  // end of modification

Does the above rectify the problem below?

Running ZC 1.3.8 with Multilanguage EZ-Pages 1.3.05v2.01

I have sorted out most of the errors that I have had with the mod by this thread. However, I am having issues where the mod seems to be ignoring Chapter and TOC settings. At some point after I first installed the mod, this was working correctly.

I looked here https://www.zen-cart.com/tutorials/index.php?article=117 for some indication of how to indicate main and subordinate pages and it seems a little ambiguous. Also, I did not change any settings from before when it was working.

The site can be looked at http://www.pheniks.net/zen/

What you would be looking for is the fact that in the footer, there are a bunch of links that are supposed to be on Chapter and TOC.

For instance, "Our Candles" is supposed to be the parent page that will contain "You Breathe What You Burn," "Hand Carved," and "Guarantee." Also, "Events" is supposed to contain "Calendar."

Thanks in advance.

14 Apr 2008, 7:36 AM
#115
pheniks avatar

pheniks

New Zenner

Join Date:
Aug 2007
Posts:
38
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

I have figured it out.

First, I did have an somehow messed up query in ezpages_bar_footer.php

Second, if you don't want the ezpage to show up on your site header, footer, sidebox, but you do want it to show up on Chapter/TOC set the sort order for the appropriate areas you don't want to zero (0).

And ta da, I've fixed it myself.

23 May 2008, 2:58 AM
#116
bjamieson avatar

bjamieson

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

Does anyone know why my EZ Page page name would not show up in the header link? (ZC version 1.3.8).I am using the EZ Pages Multi Language Support
I have created an EZ Page (About Us) and have set the "EZ-Pages Display Status - HeaderBar" to On. The Header Status is on in the EZ Pages admin screen (with a number '10' to denote order.

When I view the source of any of my site pages, the EZ Page link is there, but the page Name is not (and therefore there is no clickable text)
I tried inserting //<?php echo $var_linksList[$i]['name']; ?> and the variable comes up blank.

I believe it to be a problem with this module as I have set up a test site that does not have the module installed, and the EZ page module shows up no problem in the header on the same conditions

My PHP skills are weak, so any help would be GREATLY appreciated!

Thanks in advance,
Brian

23 May 2008, 3:51 AM
#117
bjamieson avatar

bjamieson

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

ok found the problem... the ez_pages_bar_header.php in the /includes/modules/CUSTOM directory was not being read. Once I copied it over to /includes/modules, it works fine. I guess I'm not getting the custom module override.

6 Jun 2008, 12:18 AM
#118
alexexela avatar

alexexela

New Zenner

Join Date:
Jul 2006
Posts:
16
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

Does anyone know where the SQL query statment is for which you pulled the pages_title and show it in the HTML header (in the <title> tag)?

I don't know why mine is showing the pages_title from the original ezpages table instead of the ezpages_content table. Maybe this isn't an issue for any of you but since my zen cart is heavily modified, I'd like to know how I can fix it. All I need to know is where the location of the SQL statement (which file).

Thanks.

19 Jun 2008, 7:45 AM
#119
realforever avatar

realforever

New Zenner

Join Date:
Jul 2006
Posts:
58
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

I installed the package with 1.3.8. a. However, it only works for update on the English html content, not on second language content. i.e. it goes to index.php?main_page=page&id=2, in fact it keeps going to the page2_1.php under the second language folder. Any help there?

I wonder the awesome bunyip support has long gone :P

19 Jun 2008, 7:47 AM
#120
realforever avatar

realforever

New Zenner

Join Date:
Jul 2006
Posts:
58
Plugin Contributions:
0

Re: Multi-Language Support for EZ-Pages

bjamieson:

ok found the problem... the ez_pages_bar_header.php in the /includes/modules/CUSTOM directory was not being read. Once I copied it over to /includes/modules, it works fine. I guess I'm not getting the custom module override.

Read bunyip early posts, the "CUSTOM" directory should be your custom template directory name.