<liferay-icon menu> and javascript doesn't work<liferay-icon menu> and javascript doesn't workhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1206428612024-03-29T08:50:57Z2024-03-29T08:50:57ZRE: <liferay-icon menu> and javascript doesn't workAndrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1206817892021-03-12T14:51:17Z2021-03-12T14:51:17Z<p>I don't think there is a limit on the number of apps -- I mean, I
have never experienced that before anyway. What I would suggest is
that you put them all back to reproduce the issue and then remove them
one at a time to see if you can isolate whether or not it is one of
the apps that appears to be causing the issue. It sounds like there
might be something in one of your apps that is manifesting the issue.
Maybe a conflict in id values that is being referenced by the
Javascript or something?</p>Andrew Jardine2021-03-12T14:51:17ZRE: RE: <liferay-icon menu> and javascript doesn't workScarletake Bwihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1206837172021-03-12T09:24:49Z2021-03-12T09:24:49Z<p>yes, i found that it happen because too many app in My Dashboard.</p>
<p>after i remove some apps, everything works.</p>
<p>but i'm curious, how many apps is the limit?</p>Scarletake Bwi2021-03-12T09:24:49ZRE: RE: <liferay-icon menu> and javascript doesn't workScarletake Bwihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1206836762021-03-12T08:52:17Z2021-03-12T08:52:17Z<p>hi</p>
<p>very sorry for reply late.</p>
<p>yes, provided by Liferay</p>
<p>
<img src="/documents/14/0/mydashboard+%282%29.png/03140827-96f1-845b-5430-7f53b6438d63?t=1615538484801&imagePreview=1" /></p>
<p>and not only icon in menu, My Sites, Languages also</p>
<p>
<img src="/documents/14/0/language+%281%29.png/17f7a294-1154-e836-151d-79349a2396d4?t=1615538564539&imagePreview=1" /></p>
<p> </p>
<p>It's weird, when i try same portlet, in sub site, it works. and i try
it again, same portlet in MyDashboard, it work now.</p>
<p>but language and "My Sites" still not working in My
Dashboard. but working in other please.</p>
<p>now if i want switch to a sub site, i cannot use "My
Sites", i have to go Control Panel, and use the "My
Sites" in Control Panel.</p>
<p>is there because i add too many portlets in My Dashboard?</p>
<p> </p>
<p>thank you.</p>
<p> </p>Scarletake Bwi2021-03-12T08:52:17ZRE: <liferay-icon menu> and javascript doesn't workAndrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1206577912021-03-03T12:42:13Z2021-03-03T12:42:13Z<p>Two follow up questions. </p>
<p>1. When you say "My Dashboard" are you talking about the
one that Liferay provides for you out of the box, the one that can be
accessed via the personal menu? Or is the "My Dashboard" a
page that you have created? (can you share a screenshot?)</p>
<p>2. Can you look at the page source and show us the markup for the
icon menu and the generated urls that are in the page but not working?</p>Andrew Jardine2021-03-03T12:42:13ZRE: RE: <liferay-icon menu> and javascript doesn't workScarletake Bwihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1206589422021-03-03T03:25:03Z2021-03-03T03:25:03Z<p>hi andrew</p>
<p>see nothing. it seems just doesn't be trigger. but only in "My Dashboard". </p>Scarletake Bwi2021-03-03T03:25:03ZRE: <liferay-icon menu> and javascript doesn't workAndrew Jardinehttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1206570992021-03-02T13:06:48Z2021-03-02T13:06:48Z<p>Hi Scarletake, </p>
<p>What's the error that you see in the console? (the chrome console I mean)</p>Andrew Jardine2021-03-02T13:06:48Z<liferay-icon menu> and javascript doesn't workScarletake Bwihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1206428602021-02-23T07:43:52Z2021-02-23T07:43:52Z<p>hi</p>
<p>The system is liferay 6.2, db is mysql<br />I am not sure of the
cause of the problem, so it is a very strange question to ask.<br />I
have a development environment and a formal environment. The two
environments are the same.<br />Two difference are that the formal
environment has ssl and net name, and the development environment uses
ip address.</p>
<p>and in production have properties in portal-ext.properties</p>
<p>company.security.auth.requires.https=true<br />session.enable.phishing.protection=false</p>
<p>
<br />The problem occurs in my dashboard. In this screen, I cannot
switch languages, the url of <liferay-icon menu> will not work(