Skip to main content

Widgets – Last Orders, wrong link

More
15 years 6 months ago #10068 by d0g
In Control Panel, when I click on the order number in the Last Orders List Widget the link opens to the ‘edit widget window’

Like this...

index.php?option=com_hikashop&ctrl=order&task=edit&cid[]=10016&cancel_redirect=/administrator/index.php?option=com_hikashop&ctrl=dashboard
Instead of this...

index.php?option=com_hikashop&ctrl=order&task=edit&cid[]=10016&cancel_redirect=/administrator/index.php?option=com_hikashop&ctrl=order

Does anyone know how to fix this.

Thank You

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

More
15 years 6 months ago #10074 by nicolas
Do you use the latest version of HikaShop? We actually fixed these URLs in last release as they were not working. You can see on our demo website that the links work.

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

More
15 years 6 months ago #10077 by d0g
Just checked and I'm using ver 1.4.5 and see version 1.4.7 is now available, I’ll update now!

Thanks

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

More
15 years 6 months ago #10095 by d0g
I've now updated to latest version and still same problem, also deleted and remade the widget but that didn't solve it.

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

More
15 years 6 months ago #10096 by nicolas
Do you use joomla 1.5 or joomla 1.6 ?

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

More
15 years 6 months ago #10108 by d0g

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

More
15 years 6 months ago #10117 by nicolas
We were able to reproduce the problem on joomla 1.6 (it doesn't happen on 1.5).
We're going to fix that for next release.
In the mean time, you can edit the file administrator/components/com_hikashop/views/dashboard/tmpl/order.php and change the code:
echo hikashop::completeLink('order&task=edit&cid[]='.$row->order_id.'&cancel_redirect='.urlencode(hikashop::completeLink('dashboard')));

to:
echo hikashop::completeLink('order&task=edit&cid[]='.$row->order_id);

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

More
15 years 6 months ago #10124 by d0g
Thank you that fixed it.

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

Time to create page: 0.213 seconds
Powered by Kunena Forum