Widgets – Last Orders, wrong link

  • Posts: 7
  • Thank you received: 0
13 years 8 months ago #10068

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #10074

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.

  • Posts: 7
  • Thank you received: 0
13 years 8 months ago #10077

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.

  • Posts: 7
  • Thank you received: 0
13 years 8 months ago #10095

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #10096

Do you use joomla 1.5 or joomla 1.6 ?

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

  • Posts: 7
  • Thank you received: 0
13 years 8 months ago #10108

!.6

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #10117

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.

  • Posts: 7
  • Thank you received: 0
13 years 8 months ago #10124

Thank you that fixed it.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum