?
avatar fgonc124
fgonc124
26 Feb 2017

Steps to reproduce the issue

Install V 3.7 and then Hikashop
Create a menu item with type Hikashop product listing

Expected result

As soon as you select a Hikshop menu item type it should appear a Tab with Hikashop options.

Actual result

As soon as you select a Hikshop menu item type, all tabs, disappear ( Lynk type , Page display, metadata and module assignment)

System information (as much as possible)

Windows, PHP 7.1 , Joomla 3.7 b3 , Mysql 5.7

Additional comments

The problem surges also with PHP 5.6

Hikashop version:3.0.0
hikashop_nok
hikashop_ok
hikashop_type

I tried with Hikashop V 2.6.1 + PHP 7.1 and everything was ok.
I tried with Hikashop V 2.6.1 + php 5.6 and everything was ok.

Looks like that is a problem with joomla3.7b3 and hikashop 3

avatar fgonc124 fgonc124 - open - 26 Feb 2017
avatar joomla-cms-bot joomla-cms-bot - change - 26 Feb 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Feb 2017
avatar Bakual
Bakual - comment - 26 Feb 2017

Are you doing something special with your hikashop menu item? Can you elaborate a bit?

avatar fgonc124 fgonc124 - edited - 26 Feb 2017
avatar fgonc124 fgonc124 - change - 26 Feb 2017
The description was changed
avatar fgonc124 fgonc124 - edited - 26 Feb 2017
avatar fgonc124 fgonc124 - change - 26 Feb 2017
The description was changed
avatar fgonc124 fgonc124 - edited - 26 Feb 2017
avatar fgonc124
fgonc124 - comment - 26 Feb 2017

Nothing special
Just want to select a menu and want hikashop to list some products.

Check live site http://lojadocaopreto.com/index.php/livros/novidades

I want roplicate this

Thanks

Cumprimentos

Fernando Goncalves

Em 26/02/2017 13:38, "Thomas Hunziker" notifications@github.com escreveu:

Are you doing something special with your hikashop menu item? Can you
elaborate a bit?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#14259 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY1Y3w0t-b9-a_wDe89wI86nNkh4zdqNks5rgYA5gaJpZM4MMYnN
.

avatar fgonc124 fgonc124 - change - 26 Feb 2017
The description was changed
avatar fgonc124 fgonc124 - edited - 26 Feb 2017
avatar fgonc124
fgonc124 - comment - 26 Feb 2017

See the diference between the first and second picture.

All those tabs disappear when install hikashop 3

avatar Fedik
Fedik - comment - 26 Feb 2017

it looks like there a javascript error, which happens before the tabs rendering
@fgonc124 please check the Browser console, and check is there any error, and post here

avatar fgonc124
fgonc124 - comment - 26 Feb 2017

Hi Fedik

You were wright. There's a javascript error.
Uploading Hikashop_jserror.JPG…

avatar Fedik
Fedik - comment - 26 Feb 2017

@fgonc124 your screenshot is broken

avatar fgonc124
fgonc124 - comment - 26 Feb 2017

I posted another screenshot

avatar dgt41
dgt41 - comment - 26 Feb 2017

Adding

JHtml::_('bootstrap.tooltip');

in your form will solve the problem?

avatar fgonc124
fgonc124 - comment - 26 Feb 2017

Sorry but I don't know how to do it.

My form is a standard form of Joomla. It's the form you get when creating a menu item.

avatar dgt41
dgt41 - comment - 26 Feb 2017

Please ask support from the developer

avatar fgonc124
fgonc124 - comment - 26 Feb 2017

So you think the problem is with Hikashop?

avatar Bakual
Bakual - comment - 26 Feb 2017

Probably yes, since it apparently works with core.
That's why I asked if there is something special Hikashop is doing there.

avatar hikashop-nicolas
hikashop-nicolas - comment - 27 Feb 2017

It looks like Joomla 3.7 now has a dedicated "jquery tooltip" library (media/jui/js/bootstrap-tooltip-extended.min.js) which is, unfortunately, in conflict with the official jquery-ui library that HikaShop uses for some of its display.
Joomla should use a different name for its jquery tooltip if it's not compatible with the standard jquery tooltip as it will break each time an extension needs to load jquery-ui and the tooltip library of Joomla is loaded on the page.
On our end, we'll remove the tooltip library from the jquery-ui we're using in HikaShop for the next release as we don't need that piece and that will fix the problem for us but I would suggest fixing that in Joomla.

avatar fgonc124
fgonc124 - comment - 27 Feb 2017

Thanks for your help

avatar Fedik
Fedik - comment - 27 Feb 2017

@hikashop-nicolas thanks for investigation

Joomla should use a different name for its jquery tooltip

nice joke ?
it actually the bootstrap tooltip, Joomla nothing to do with it ?

Not sure what we can do here, to avoid possible conflict.
Maybe remove tooltip from the media field, because there already popover.

avatar Bakual
Bakual - comment - 27 Feb 2017

PR for reference which introduced that library: #10237
Pinging @JoomliC since it was his PR.

avatar Bakual
Bakual - comment - 27 Feb 2017

it actually the bootstrap tooltip, Joomla nothing to do with it

That's actually not true ?

avatar Fedik
Fedik - comment - 27 Feb 2017

That's actually not true

so, is it someone made it for Joomla?
sorry then ?

avatar hikashop-nicolas
hikashop-nicolas - comment - 27 Feb 2017

Our jQuery UI is indeed loaded after bootstrap-tooltip-extended.min.js :
https://monosnap.com/file/qF5SJYOWavwvhFmaCYCawBUO15M5F6Our

on our end, jQuery UI cannot be loaded before since HikaShop is called by a menu item XML element when Joomla creates the edition interface fo the menu item and thus it has already loaded its tooltips.

avatar C-Lodder
C-Lodder - comment - 27 Feb 2017

@hikashop-nicolas sorry but you're wrong. The issue lies with Hikashop. You're importing jQuery and jQuery UI using JDocument. You should be using:

JHtml::_('jquery.framework');
JHtml::_('jquery.ui');

tested and working

avatar hikashop-nicolas
hikashop-nicolas - comment - 27 Feb 2017

We have to use our own jQuery and jQuery UI in order to mitigate compatibility issues with templates and other extensions.

avatar hikashop-nicolas
hikashop-nicolas - comment - 27 Feb 2017

Now I don't want to open a debate whether who is right or wrong. As I said, we'll deal with that on our end. I was just trying to help :)

avatar Bakual
Bakual - comment - 27 Feb 2017

Closing this issue then as it has ties to Hika loading their own jQuery stuff and not using the API.

avatar Bakual Bakual - change - 27 Feb 2017
The description was changed
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-02-27 14:39:52
Closed_By Bakual
avatar Bakual Bakual - close - 27 Feb 2017
avatar JoomliC
JoomliC - comment - 27 Feb 2017

@hikashop-nicolas Just to mention that tooltip extended script is already there since 3.6.0 ! (so the current issue should be related to another change introduced in 3.7-dev, but not directly with BS tooltip extented ;-) )

avatar Yves-K
Yves-K - comment - 25 Apr 2017

Well, its really not the same script and not in the same call order...
However before 3.7 you could bridge to avoid conflict between bootstrap and jquery-ui and keep using them both

$.widget.bridge('newToolTip', $.ui.tooltip);

https://api.jqueryui.com/jQuery.widget.bridge/

Now it's broken by call of "destroy" on unchecked 'undefined' elements (mediafield.js line 139)
The error message is "cannot call methods on tooltip prior to initialization; attempted to call method 'destroy'"
Even if the code might be cleaned (realy), just using a try... or test ===undefined might do the job !


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14259.

avatar Bakual
Bakual - comment - 26 Apr 2017

@Yves-K If you think there is a legitimate issue, please open a new issue. Commenting on a closed one will not do anything.

avatar oxido21
oxido21 - comment - 1 Jan 2018

I have the same problem now with this configuration:
Joomla 3.8.3
HikaShop Business: 3.2.2
HikaMarket v2.0.1

This problem show up in google chrome, in edge it works fine...

avatar brianteeman
brianteeman - comment - 1 Jan 2018

Please ask for support with Hikashop

avatar oxido21
oxido21 - comment - 1 Jan 2018

@brianteeman Problem solved for me.
I opened the console in chrome ( F12) and pres and hold on refresh button > Empty Cache and Hard Reloade . That worked for me.

avatar fgonc124
fgonc124 - comment - 1 Jan 2018

My problem was solved with the release of new version of Hikashop

2018-01-01 21:47 GMT+00:00 oxido21 notifications@github.com:

@brianteeman https://github.com/brianteeman Problem solved for me.
I opened the console in chrome ( F12) and pres and hold on refresh button

Empty Cache and Hard Reloade . That worked for me.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#14259 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY1Y3ybhZPJMrzkhdD2ptJPwdixiafsmks5tGVKHgaJpZM4MMYnN
.

Add a Comment

Login with GitHub to post a comment