- Posts: 293
- Thank you received: 9
[SOLVED] Joomla 3.1.4 Update Causing Problems
13 years 2 months ago - 13 years 2 months ago #115948
by MSTACE
[SOLVED] Joomla 3.1.4 Update Causing Problems was created 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.]
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.
13 years 2 months ago #115956
by karlvann
Replied by karlvann on topic Joomla 3.1.4 Update Causing Problems to Back-End
Same problem here
Joomla 3.1.4
hikashop_business_2.2.0_2013-07-27
Invoice and shipping invoice buttons aren't responding
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.
13 years 2 months ago #115967
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Joomla 3.1.4 Update Causing Problems to Back-End
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
With
This patch will be include in a new 2.2.0 package.
Regards,
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;
}
}
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;
}
}
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 2 months ago #115973
by MSTACE
Replied by MSTACE on topic Joomla 3.1.4 Update Causing Problems to Back-End
Yep, that works now with 3.1.4.
Thank you!
Thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.150 seconds