Forums / All Other Contributions/Addons / Improved SiteMap Display

Improved SiteMap Display

Views: 8,705

Results 41 to 45 of 45
15 Jan 2011, 1:51 AM
#41
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Improved SiteMap Display

Hey Diva ..

In the file includes/classes/site_map.php on about line 98 ...

... is adding the following code, as far as you know, still the best way of getting only one link instead of two on the sitemap, for a single product, when two languages are used in the store?

and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'

Jim

15 Jan 2011, 2:46 AM
#42
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Improved SiteMap Display

finlander:

Hey Diva ..

In the file includes/classes/site_map.php on about line 98 ...

... is adding the following code, as far as you know, still the best way of getting only one link instead of two on the sitemap, for a single product, when two languages are used in the store?

and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

15 Jan 2011, 3:20 AM
#43
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Improved SiteMap Display

I wouldn't say I'm a real developer, but having made a bunch of multi-language-compliant mods, I can say that that would work to show only the current language entry.

15 Jan 2011, 6:51 AM
#44
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Improved SiteMap Display

gjh42:

I wouldn't say I'm a real developer, but having made a bunch of multi-language-compliant mods, I can say that that would work to show only the current language entry.Well if you're not a real developer, then you sure do a good job of "playing one on TV" then 'cause you have me convinced..:laugh:

You're more of the real deal than me.. I think that I'm more of a puzzle master/picker/tweaker.. I couldn't WRITE code from scratch.. YOU can.. :) BIG DIFFERENCE!:smile:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

15 Jan 2011, 8:01 AM
#45
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: Improved SiteMap Display

DivaVocals:

Well if you're not a real developer, then you sure do a good job of "playing one on TV" then 'cause you have me convinced..:laugh:

ditto that ... :mellow: