1. EsSa55
  2. RO CSVI
  3. Tuesday, 07 February 2017
  4.  Subscribe via email
Hi

I am actually still using v5.21.2 on Joomla 3.6.5 + Virtuemart 3.0.18 ( I have upgraded to v7 but not yet installed).

We use CSVI to produce a google sitemap of all in stock products.

We are about to venture into the multi-lingual world, using sub-domains rather than sub-directories

e.g. nl.4footyfans.com not http://4footyfans.com/nl

We wish to produce multi-lingual versions of the sitemap do not know how to handle the product_url & product_image variables.

The attached file shows the current format and also a possible new format to handle the additional currencies but I need to be able to resolve the use of the 2 variables which point to the main site (http://www.4footyfans.com) product & image urls

Or, do we need to use a different structure?

TIA

Eddie Current Sitemap structure_.txt
Accepted Answer Pending Moderation
Hello Roland

Ok, I understand the rationale behind the changes.

Will sef urls will be output since they have not been so far?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 41
Accepted Answer Pending Moderation
Hello Eddie,

> Will sef urls will be output since they have not been so far?

SEF URLs will be output as long as the option SEF URLs has been set to Yes in the template. Not to forget, the domain name needs to be set in the Global configuration of CSVI as well. On the Dashboard click on the Options button. You can then set the domain name of your site.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 42
Accepted Answer Pending Moderation
ignore
  1. more than a month ago
  2. RO CSVI
  3. # 43
Accepted Answer Pending Moderation
Hi

Ok, The issues are almost resolved.

I have got the correct country currency to be included in the product url but this requires the EXclusion of the lang parameter.

Please see attached screenshot.

So, I need Language to be actually option or removed entirely?

How to achieve this?

Best

Eddie
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 44
Accepted Answer Pending Moderation
Hello Eddie,

The language field is used for multiple things, most importantly to get the correct product name out of the database. The image is not making things clearer. Can you explain the issue using incorrect and correct URLs? Now I am not clear as to where the actual problem is.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 45
Accepted Answer Pending Moderation
Hello Roland

Currently, with the use of replacement rules, sitemap output looks like this:

http://nl.4footyfans.com/[color=red]nl[/color]/store/gaming-audio/star-wars-ipad-sleeve[color=red]?lang=nl[/color]

Since we are using sub-domains for language translation, the /nl and ?lang=nl are superfluous.

With the addition of the url suffix:

?virtuemart_currency_id=47

I am able to ensure the product displays not only in the relevant currency but also switch to the country's currency.

That is provided the ?lang= parameter is not included.

The additional sub-directory /nl, does not have any effect.

Try the options and you will see.

So, I need the primary language option to be optional to include 'none' or 'do not use'.

If that can be achieved, I will then be able to produce a sitemap for each sub-domain (language + currency).

I hope that now makes sense?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 46
Accepted Answer Pending Moderation
Hello Eddie,

Yes, it all makes sense now however I am still pondering about a few things.

All these subdomains use a single instance of the site correct?

The additional sub-directory /nl, does not have any effect.
The URL like http://4footyfans.com/nl/store/gaming-audio/star-wars-ipad-sleeve is how Joomla constructs URLs on a multi-language system.

How do you get Joomla to generate the subdomain URLs? Are they rewritten using htaccess?

Just me trying to get an idea of how the structure of the site is setup :)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 47
Accepted Answer Pending Moderation
Hello Roland

We are using a translation service called GTranslate.

The sub-domains are routed to their servers via DNS CNAME,

So, running any of the sub-domains automatically gets translated.

The language switcher module on the site is theirs.

Any confusion, on my part, is configuring any of the joomla and/or virtuemart language services that become superfluous when the translation is being performed by the 3rd party.

I hope that makes sense?

It is working fine, site-wise, and I can also change any translation direct from the front-end (not tried that yet!).

So, translations are fine (?).

I need to be able to produce sitemaps, per language, plus googlebase product lists for Google Shopping.

So far as the store is concerned, I am trying to get the currency to switch to that of the country the visitor is accessing from.

Which leads me back to my previous message.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 48
Accepted Answer Pending Moderation
Hello Eddie,

What your eventually trying to achieve is clear. What fails me is to understand where things are Joomla core and where it is 3rd party development. As you can imagine, I don't want to include things that are not core. Looking at the GTranslate documentation, the URL rewriting is done by them and not Joomla. This answers my question about how the URLs are generated.

Since the GTranslate module doesn't run on the call CSVI makes to get the SEF URL, you get a native Joomla URL. That is because modules are not loaded on JSON calls.

Now what? I can hear that question come up :)

To remove the language from the URL you can create a replacement rule to replace /nl/, /de/, etc. and ?lang=xx with nothing. That would remove the superfluous language parts of the URL. Did you try that already?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 49
Accepted Answer Pending Moderation
Hello Roland



To remove the language from the URL you can create a replacement rule to replace /nl/, /de/, etc. and ?lang=xx with nothing. That would remove the superfluous language parts of the URL. Did you try that already?


Dur! Nope!

Hadn't thought of that (on the basis there's no point in both of us think of the same thing!).

I'll give that a go and report back.........

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 50
Accepted Answer Pending Moderation
Hi

BTW, I invariably get the following message when opening csvi v7:

Error
View not found [name, type, prefix]: cpanel, html, csviView

A refresh seems to clear it.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 51
Accepted Answer Pending Moderation
Hello Eddie,

The view not found, do you get it after you are logged out by Joomla?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 52
Accepted Answer Pending Moderation
Hello Roland

Re the view error:

No, it is from within the component, when selecting Dashboard from the menu dropdown.

Either refreshing or selecting another option from within the component seems to clear it.

Ok, with the addition of 2 further replacements, making 3 per template, I now get the url displaying perfectly and with the appropriate currency.

Thanks for your invaluable help and advice on this matter.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 53
Accepted Answer Pending Moderation
Hey Eddie,

We will look into that not page found thingy.

Glad to hear that all has been resolved now :)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 54
Accepted Answer Pending Moderation
Hello Eddie,
Found the cause for View not found issue, Can you load the attached patch file and in the CSVI about page, click on Fix menu button? After that try loading Dashboard page from components >> CSVI Pro.

patch_about_page_2017_02_17.zip
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 55
  • Page :
  • 1
  • 2
  • 3


There are no replies made for this post yet.
Be one of the first to reply to this post!