- Posts: 7
- Thank you received: 0
Widgets – Last Orders, wrong link
15 years 6 months ago #10068
by d0g
Widgets – Last Orders, wrong link was created 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
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.
15 years 6 months ago #10074
by nicolas
Replied by nicolas on topic Re: Widgets – Last Orders, wrong link
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.
15 years 6 months ago #10077
by d0g
Replied by d0g on topic Re: Widgets – Last Orders, wrong link
Just checked and I'm using ver 1.4.5 and see version 1.4.7 is now available, I’ll update now!
Thanks
Thanks
Please Log in or Create an account to join the conversation.
15 years 6 months ago #10095
by d0g
Replied by d0g on topic Re: Widgets – Last Orders, wrong link
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.
15 years 6 months ago #10096
by nicolas
Replied by nicolas on topic Re: Widgets – Last Orders, wrong link
Do you use joomla 1.5 or joomla 1.6 ?
Please Log in or Create an account to join the conversation.
15 years 6 months ago #10108
by d0g
Replied by d0g on topic Re: Widgets – Last Orders, wrong link
!.6
Please Log in or Create an account to join the conversation.
15 years 6 months ago #10117
by nicolas
Replied by nicolas on topic Re: Widgets – Last Orders, wrong link
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);
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.
15 years 6 months ago #10124
by d0g
Replied by d0g on topic Re: Widgets – Last Orders, wrong link
Thank you that fixed it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.213 seconds