Foren
jQuery in a custom theme inteferes with portlet controls
William Gosse, geändert vor 8 Jahren.
jQuery in a custom theme inteferes with portlet controls
Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
I just created new theme which uses jQuery. When I deploy it the controls on the portlets, both buitin and custom, no longer work. By controls I mean look and feel, configuration remove. If I switch back to the custom theme everything is fine. It seems like a conflict but I thought there was no jQuery in 6.x Liferay.
Bijan Vakili, geändert vor 8 Jahren.
RE: jQuery in a custom theme inteferes with portlet controls
Expert Beiträge: 375 Beitrittsdatum: 10.03.09 Neueste Beiträge
Are you using jQuery UI too? Or any other jQuery stylesheets?
Sushil Patidar, geändert vor 8 Jahren.
RE: jQuery in a custom theme inteferes with portlet controls
Expert Beiträge: 467 Beitrittsdatum: 31.10.11 Neueste Beiträge
Hi,
This may be due to error in Jquery that you have included.You can confirm if there is error in browser console.
Regards
This may be due to error in Jquery that you have included.You can confirm if there is error in browser console.
Regards
William Gosse, geändert vor 8 Jahren.
RE: jQuery in a custom theme inteferes with portlet controls (Antwort)
Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
It turns out the issue wasn't with Jquery at all. It was with a css class name that was already in use by liferay. Sorry for the false alarm.