Recalculate aliases for selected items

More
2 hours 7 minutes ago - 2 hours 5 minutes ago #86203 by lipatovroman
Hello.
Some time ago Georgios added useful function "Recalculate item aliases".


How do I use it?
I add hundreds of new items. Then, using the translate tool, I create new items in other languages. Next, using the Deepl API and my script, I translate the titles of the items. This is where I need the Recalculate Aliases tool. But it works with all the items on the site, and I have tens of thousands of them. This puts a heavy load on the server and makes it unavailable during the operation.
We need the same tool that will do the same thing, but only for selected items.
We made some adjustments and added a button to solve this problem.



So, please, add this edits and commit them.
Paths for replacing files:
/admin/controllers/items.raw.php
/admin/views/items/view.html.php
/admin/views/items/tmpl/indexer.php

These three files are attached to this post.

 

File Attachment:

File Name: Recalculat...ases.zip
File Size:25 KB

 
Last edit: 2 hours 5 minutes ago by lipatovroman.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.290 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save