Skip to main content

[SOLVED] Joomla 3.1.4 Update Causing Problems

More
13 years 2 months ago - 13 years 2 months ago #115948 by MSTACE
Joomla 3.1.4
hikashop_business_2.2.0_2013-07-27

When looking at Orders, the INVOICE and SHIPPING INVOICE buttons do not respond.
Yes, have cleared the browser and Joomla cache.

[UPDATE: I reverted Joomla back to 3.1.1 and it is working again.]
Last edit: 13 years 2 months ago by MSTACE.

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

More
13 years 2 months ago #115956 by karlvann
Same problem here

Joomla 3.1.4
hikashop_business_2.2.0_2013-07-27


Invoice and shipping invoice buttons aren't responding

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

More
13 years 2 months ago #115967 by Jerome
Hi,

I love when new bugs are introduced in minor versions.
The popup button system is nicely broken in the latest Joomla build. A nice patch with big explosive side-effects.

So, in order to abort this kind of problem, please edit the file "administrator/components/com_hikashop/buttons/hikapopup.php" and replace the code
Code:
class JToolbarButtonHikapopup extends JToolbarButtonPopup { public function fetchButton($type = 'Modal', $name = '', $text = '', $url = '', $width = 640, $height = 480, $top = 0, $left = 0, $onClose = '', $title = '') { list($name, $icon) = explode('#', $name, 2); $ret = parent::fetchButton($type, $name, $text, $url, $width, $height, $top, $left, $onClose, $title); if(!empty($icon)) { $ret = str_replace('<i class="icon-out-2">', '<i class="icon-'.$icon.'">', $ret); } $ret .= '<script>'."\n".'jQuery(document).ready(function(){jQuery("#modal-'.$name.'").appendTo(jQuery(document.body));});'."\n".'</script>'."\n"; return $ret; } }
With
Code:
class JToolbarButtonHikapopup extends JToolbarButtonPopup { public function fetchButton($type = 'Modal', $name = '', $text = '', $url = '', $width = 640, $height = 480, $top = 0, $left = 0, $onClose = '', $title = '') { list($name, $icon) = explode('#', $name, 2); $name .= '-btnpopup'; $ret = parent::fetchButton($type, $name, $text, $url, $width, $height, $top, $left, $onClose, $title); if(!empty($icon)) { $ret = str_replace(array('<i class="icon-out-2">', '<i class="icon-cog">'), '<i class="icon-'.$icon.'">', $ret); } $ret .= '<script>'."\n".'jQuery(document).ready(function(){jQuery("#modal-'.$name.'").appendTo(jQuery(document.body));});'."\n".'</script>'."\n"; return $ret; } }
This patch will be include in a new 2.2.0 package.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
13 years 2 months ago #115973 by MSTACE
Yep, that works now with 3.1.4.

Thank you!

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

Time to create page: 0.188 seconds
Powered by Kunena Forum