[SOLVED] Joomla 3.1.4 Update Causing Problems

  • Posts: 284
  • Thank you received: 6
11 years 3 months ago #115948

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: 11 years 3 months ago by MSTACE.

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

  • Posts: 37
  • Thank you received: 2
11 years 3 months ago #115956

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 3 months ago #115967

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

	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
	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.

  • Posts: 284
  • Thank you received: 6
11 years 3 months ago #115973

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.068 seconds
Powered by Kunena Forum