1. atrus
  2. RO CSVI
  3. Monday, 15 June 2015
  4.  Subscribe via email
Hello Roland,

Noticed the following issue when trying to translate VM3 categories:

CSVI takes the category_path_trans field and imports it as the name of the translated category, instead of separating the categories. (Category separator is correctly set as \ in the template config)

See end result here: http://www.quality-tuning.gr (first module on left column)

See attached import file, log file.

Rgrds,
Chris
Accepted Answer Pending Moderation
Hello Chris,

A good find. Attached is the patch file that fixes this issue.
Attachments (1)
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. # 1
Accepted Answer Pending Moderation
Thanks Roland, tested with new patch but still the cats are not updated proprely.

See attached log file. I can see that it is only updating one category for some reason (id 1582), can you pls confirm?

Also i can see that the slug (Recreate Alias) is not being created properly.

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

The log file did not attach, can you try it again?
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. # 3
Accepted Answer Pending Moderation
Sorry Roland,

See attached again.

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

The attached patch file should fix both issues. The issue was that the data wasn't reset for each category so it kept the existing category ID. As you noticed it was always the same ID.

In my test, I had a different ID and different slug for each category.
Attachments (1)
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. # 5
Accepted Answer Pending Moderation
Thanks Roland,

One issue is fixed, the categories separation, which is good.

There is still some issue with the slug, see attached log. It seems the slug takes the metakey values instead of category names? It also strips the greek chars and sometimes it adds the date values.

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

The slug is created based on the category name. The reason the Greek characters are stripped is because the transliteration was not taken into account the translation language. So it used English for transliteration. Attached is a patch file that takes into account the target language.

Date values are added to a slug to make sure it is unique. If you see a date, this means another slug with the name part already exists.

Let me know how it goes.
Attachments (1)
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. # 7
Accepted Answer Pending Moderation
Thanks Roland, uploaded the patch but behaviour is the same, see attached new log.

A characteristic example:

2015-06-18 08:25:29 27 [QUERY] UPDATE `y9zak_virtuemart_categories_el_gr` SET `category_name`='Fuel Cut Defenders',`category_description`='',`metadesc`='Universal Προϊόντα,Turbo Αξεσουάρ,Fuel Cut Defenders',`metakey`='universal,προϊόντα,turbo,αξεσουάρ,fuel,cut,defenders',`customtitle`='',`slug`='universal-turbo-fuel-cut-defenders' WHERE `virtuemart_category_id`='1608'

You can see that the slug is actually the metakey (or metadesc?) without the Greek chars.

Rgrds,
Chris
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hi Roland,

Hope you can confim this issue, so we can do some imports during the weekend!

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hello Chris,

I had been looking into this but couldn't put my finger on the sore spot. A goodnight sleep apparently worked as I now saw what was going on. The issue with you not seeing updated slugs is because the slugs were never processed again because they already existed, so the same ones stayed.

In the attached patchfile, there is a new option in the category template called Recreate alias. You can set this to Yes to force CSVI to recreate your aliases. This is an advanced option, so you will need to click the Advanced button before you see it.

Let me know how it goes.
Attachments (1)
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. # 10
Accepted Answer Pending Moderation
Great Roland, the new option works nicely, thanks!

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 11
  • Page :
  • 1


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