1. ssanchezmtz
  2. RO CSVI
  3. Friday, 26 July 2019
  4.  Subscribe via email
Hi, I already has a multilingual site, and I want to export all the menus on my site, and import a copy off all the menus, translated to a new language.

For the content menus, there is no problem, all the atributes can be change with the field provides on the quick add of CSVI, and its easy to me to change the link to the new link on the new language. But I have a big problem or I'm not getting it right with the Menu Items Alias, because the alias is not relevant, and the unique field that I want to change is the pointer to the new menu ID witch would be the new menu of that language.

There is a more graphic explanation of my question:

Actual menus on english

Menu 1:
|- Home -> Category blog ID:1
|- About -> Single Article ID: 2
|- Products -> Menu Alias ID: 3 Pointer ID: 4

Menu 2:
|- My products -> Category blog ID: 4
|- - Product 1 -> Single Article ID: 5
|- - Product 2 -> Single Article ID: 6

New menus on Spanish:

Menu 3:
|- Inicio -> Category blog ID:7
|- Acerca de -> Single Article ID: 8
|- Productos -> Menu Alias ID: 9 Pointer ID: 10

Menu 4:
|- Mis productos -> Category blog ID: 10
|- - Producto 1 -> Single Article ID: 11
|- - Producto 2 -> Single Article ID: 12

So, I want to import the menu 3 and 4, changing the IDs of the categories and articles to the new ones, thats easy with the link field on CSVI, but on the menu alias, I need to change the pointer of the menu ID: 9, to point to the 10, but I don't know how to do that.

Im already make a copy of my menu with the batch. So I only want to make an update of the menu.

I really expect that this information is enough to explain my issue.

Thanks for the support
---
Sergio
Accepted Answer Pending Moderation
Hello Sergio,
So, I want to import the menu 3 and 4, changing the IDs of the categories and articles to the new ones, thats easy with the link field on CSVI, but on the menu alias, I need to change the pointer of the menu ID: 9, to point to the 10, but I don't know how to do that.

You want to update the alias of the menu? Joomla does not store alias as an ID but stored it as text. What if you have alias field in your import file? Does it get updated? Can you send me your import file and Import debug log to check? To get the debug log check How to get debug information? document.
Kind regards,

Tharuna

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


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