Hello,
This is just an FYI, and a follow-up to https://rolandd.com/support/ro-csvi/can-t-start-import-no-button-to-click, which can no longer be found. The issue was unresolved.
The problem was that no buttons were appearing in the toolbar on the import preview page (see attached), so the import could not be started.
The cause turned out to be the Regular Labs Advanced Module Manager extension. It has a line of code to check for which admin modules to allow which checks for any task which equals 'preview':
&& \RegularLabs\Library\Input::get('task', '') != 'preview'
Since we're using Joomla 4, the resolution was just to modify the importsource and importpreview controllers in RO CSVI with a task that was not exactly equal to 'preview'.
BTW, there's also a line in /administrator/components/com_csvi/views/importpreview/view.html.php which should probably reflect the page the script is on. It is line 95, in the toolbar function, which should probably be:
ToolBarHelper::cancel('importpreview.cancel');
instead of:
ToolBarHelper::cancel('importsource.cancel');
Hi Ben,
Thank you for the insight. I figured it was another extension doing it, just to find out which one is hard if you don't run them on your own site. I will contact the developer of Regular Labs to see what we can do about it.
As for your comment regarding the cancel task, you are correct. However the importsource cancel method has been updated and works correct and the importsource not. So two wrongs make a right here :D This will be adjusted in the next release.
Thanks for jumping in, I appreciate it.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Hello,
So I had contact with the Regular Labs developer and they have released a development version that should resolve the issue you reported. You can find the development version here:
https://regularlabs.com/development-releases
Let us know how it goes.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Log in to reply to this topic.