<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Managing Javascript Files in LR7</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118838143" />
  <subtitle>Managing Javascript Files in LR7</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118838143</id>
  <updated>2026-04-04T05:49:40Z</updated>
  <dc:date>2026-04-04T05:49:40Z</dc:date>
  <entry>
    <title>RE: Managing Javascript Files in LR7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118849323" />
    <author>
      <name>Robert Schrepfer</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118849323</id>
    <updated>2020-04-02T10:40:48Z</updated>
    <published>2020-04-02T10:40:48Z</published>
    <summary type="html">Hi Christoph!Thank you for the link. Though it might not provide the exact same functionality as the hook in LR6 it still is pretty much what I am looking for.I am still wondering though why the propertyjavascript.everything.files= &lt;br /&gt;Still exists if it can be overwritten like in LR6.</summary>
    <dc:creator>Robert Schrepfer</dc:creator>
    <dc:date>2020-04-02T10:40:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Managing Javascript Files in LR7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118842763" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118842763</id>
    <updated>2020-04-01T12:00:42Z</updated>
    <published>2020-04-01T12:00:42Z</published>
    <summary type="html">We always just added such things to our theme, but maybe a theme contributor could solve your requirement:&lt;br /&gt;&lt;a href="https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/theme-contributors"&gt;https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/theme-contributors&lt;/a&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-04-01T12:00:42Z</dc:date>
  </entry>
  <entry>
    <title>Managing Javascript Files in LR7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118838142" />
    <author>
      <name>Robert Schrepfer</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118838142</id>
    <updated>2020-04-01T08:58:50Z</updated>
    <published>2020-04-01T08:58:50Z</published>
    <summary type="html">Hello everyone!&lt;br /&gt;I have a very simple question, though I have got a feeling that the solution will not be that simple:How can I define globally available .js files in LR7?What do I mean by globally? We come from Liferay 6 and we had some .js libraries included in a hook, which basically does nothing more than adding the js files to html/js/&lt;br /&gt;path in the deployed application. All we then had to do was adding the files to the porta-ext.properties property javascript.everything.files= and we were done.&lt;br /&gt;&lt;br /&gt;Now this property still does exist in LR7 (javascript.everything.files=), but where and how do I have to place my javascript files in order for them to be appended to everything.js in /html/common/themes/top_js.jsp?&lt;br /&gt;Best RegardsRobert</summary>
    <dc:creator>Robert Schrepfer</dc:creator>
    <dc:date>2020-04-01T08:58:50Z</dc:date>
  </entry>
</feed>
