Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Issues when upgrading to joomla 3.5 and K2 v2.7.0

  • James Allgood
  • James Allgood's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #152475 by James Allgood
Ive upgraded to joomla 3.5 and K2 v2.7.0 tonight and have found my self stuck being unable to use the one plugin my website always uses....

On the backend / admin centre i can no longer add gallery's.... I can only hard code / type in the location for the gallerys because the box that pops up isn't working:


And my second issue is that the plugin no longer works on the website:
www.themeparkguide.biz/park-guides/thorpe-park/stealth

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

More
8 years 8 months ago #152493 by Lefteris
Hi,

The issue has been addressed and the fix will be included in the next release.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • James Allgood
  • James Allgood's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #152543 by James Allgood
Replied by James Allgood on topic Issues when upgrading to joomla 3.5 and K2 v2.7.0
when is the new version being released?

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

More
8 years 8 months ago #152544 by BekoDesign
Replied by BekoDesign on topic Issues when upgrading to joomla 3.5 and K2 v2.7.0
Sadly I couldn't wait for the update so a created a emergency fix for this issue.

You will have to replace two files:

1. plugins/editors-xtd/jw_sigpro/jw_sigpro.php
<?php
/**
 * @version		3.0.x
 * @package		Simple Image Gallery Pro
 * @author		JoomlaWorks - https://www.joomlaworks.net
 * @copyright	Copyright (c) 2006 - 2015 JoomlaWorks Ltd. All rights reserved.
 * @license		https://www.joomlaworks.net/license
 */

// no direct access
defined('_JEXEC') or die ;

jimport('joomla.plugin.plugin');

class plgButtonJw_SigPro extends JPlugin
{

	public function __construct(&$subject, $config)
	{
		parent::__construct($subject, $config);
		$this->loadLanguage('', JPATH_ADMINISTRATOR);
	}

	function onDisplay($name)
	{
		$document = JFactory::getDocument();
		if (version_compare(JVERSION, '3.0', 'lt'))
		{
			$document->addScript('//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js');
		}
		else
		{
			JHtml::_('jquery.framework');
		}
		$document->addScript(JURI::root(true).'/administrator/components/com_sigpro/js/fancybox/jquery.fancybox.pack.js?v=3.0.8');
		$document->addStyleSheet(JURI::root(true).'/administrator/components/com_sigpro/js/fancybox/jquery.fancybox.css?v=3.0.8');
		$document->addStyleSheet(JURI::root(true).'/administrator/components/com_sigpro/css/editor.css?v=3.0.8');
		if (version_compare(JVERSION, '3.0', 'lt'))
		{
			$option = JRequest::getCmd('option');
			if ($option == 'com_virtuemart' || $option == 'com_tienda' || $option == 'com_k2')
			{
				$document->addScript(JURI::root(true).'/administrator/components/com_sigpro/js/jquery.noconflict.restore.js?v=3.0.8');
			}
			else
			{
				$document->addScript(JURI::root(true).'/administrator/components/com_sigpro/js/jquery.noconflict.js?v=3.0.8');
			}

		}
		$document->addScript(JURI::root(true).'/administrator/components/com_sigpro/js/editor.js?v=3.0.8');
		$button = new JObject();
		$link = 'index.php?option=com_sigpro&tmpl=component&type=site&editorName='.$name;
		$application = JFactory::getApplication();
		if ($application->isSite())
		{
			$link .= '&template=system';
		} 
		$button->set('link', '#');
		$button->set('text', JText::_('PLG_EDITORS-XTD_JW_SIGPRO_IMAGE_GALLERIES'));
		$button->set('name', 'sigProEditorButton'); 
		$button->set('onclick', 'SigProModal(this, \''.$link.'\'); return false;');
		if(version_compare(JVERSION, '3.0', 'ge'))
		{
			$button->class = 'btn';
		}
		return $button;
	}

}

2. administrator/components/com_sigpro/js/editor.js
if ( typeof ($sig) == 'undefined') {
	var $sig = jQuery;
}
function SigProModal(el, link) {  
	$sig.fancybox({
		type : 'iframe',
		href : link,
		padding : 0,
		margin : 40,
		title : null, 
		width	: 1225,
		height	: 800,
		helpers : {
			css : {
				'html' : 'overflow:hidden'
			},
			locked : true
		}
	});
}

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

More
8 years 8 months ago #152679 by Lefteris
@James Allgood

The update will be released probably the next days.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
8 years 8 months ago - 8 years 8 months ago #152724 by F. Saskiano
Replied by F. Saskiano on topic Issues when upgrading to joomla 3.5 and K2 v2.7.0
This is Joomla! issue, as apparently the forces that be at Joomla! have decided to make a MAJOR change to the database structure without bothering to tell anyone! The basic problem is that they changed the collation on all their tables. It is wreaking havoc with MANY extensions, FWIW.

I am about to launch a new site, but cannot add the last image gallery, so I am stuck, for the time being!

I have fixed the issue on other extensions by using a mySQL query to change the table structure. Is such a fix possible here? Can anyone confirm that BekoDesign's fix works?

TIA!
Last edit: 8 years 8 months ago by F. Saskiano. Reason: more info

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

More
8 years 8 months ago #152759 by Lefteris
@F. Saskiano

You are off topic here. This has nothing to do with SQL. But in any case, Simple Image Gallery PRO is not using any database tables for the galleries.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
8 years 8 months ago #152770 by F. Saskiano
Replied by F. Saskiano on topic Issues when upgrading to joomla 3.5 and K2 v2.7.0
Sorry about that!

What will be the version of SIGPro that addresses the current problems experienced after the Joomla! 3.5 update? My Joomla! Update Manager shows SIGPro ver. 3.08 to be the latest version available...

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

More
8 years 8 months ago #152811 by Lefteris
@F. Saskiano

I cannot tell for sure. I guess it will be released within the next few days.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
8 years 7 months ago #153741 by Francis Rozange
Replied by Francis Rozange on topic Issues when upgrading to joomla 3.5 and K2 v2.7.0
No you did not release it, it's almost once month ago and we pay for nothing. unfortunately that patch did not work for me.

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


Powered by Kunena Forum