<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem adding JQuery in ftl file in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-adding-jquery-in-ftl-file/m-p/52692#M19818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to print a simple alert in login.get.html.ftl file using JQuery.So,I have added the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;@markup id="js"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;#-- JavaScript Dependencies --&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;@script src="${url.context}/res/components/guest/login.js" group="login"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script type="text/javascript"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(document).ready(function () {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;alert('This is login page');&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;});&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/@&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the alert is not working.plz guide me if I am missing anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards&lt;/P&gt;&lt;P&gt;Ayushi Agrahari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 May 2018 08:37:24 GMT</pubDate>
    <dc:creator>ayushi_agrahari</dc:creator>
    <dc:date>2018-05-19T08:37:24Z</dc:date>
    <item>
      <title>Problem adding JQuery in ftl file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-adding-jquery-in-ftl-file/m-p/52692#M19818</link>
      <description>Hi all,I am trying to print a simple alert in login.get.html.ftl file using JQuery.So,I have added the following code&amp;lt;@markup id="js"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;#-- JavaScript Dependencies --&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;@script src="${url.context}/res/components/guest/login.js" group="login"/&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script type="text/javascrip</description>
      <pubDate>Sat, 19 May 2018 08:37:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-adding-jquery-in-ftl-file/m-p/52692#M19818</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-05-19T08:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding JQuery in ftl file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-adding-jquery-in-ftl-file/m-p/52693#M19819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that you are trying to extend login page of alfresco.For overrind ftl in alfresco you need to do some other configurations as well.Below link will help you in same.Alfresco share is build on yui and aikau ,its better to use any of this instead of jquery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.2/tasks/dev-extensions-share-tutorials-override-login-page.html" title="https://docs.alfresco.com/5.2/tasks/dev-extensions-share-tutorials-override-login-page.html" rel="nofollow noopener noreferrer"&gt;Override Share sign in page | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2018 12:17:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-adding-jquery-in-ftl-file/m-p/52693#M19819</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-05-19T12:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding JQuery in ftl file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-adding-jquery-in-ftl-file/m-p/52694#M19820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you confirm that your markup is actually showing up on the login page? I assume it is not if you are not seeing your alert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where did you make this change exactly and how did you package it up and deploy it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to what Krutik pointed you to you might also look at this add-on, which adds announcements to the login page: &lt;A class="link-titled" href="https://github.com/jpotts/share-announcements" title="https://github.com/jpotts/share-announcements" rel="nofollow noopener noreferrer"&gt;GitHub - jpotts/share-announcements: Alfresco add-on that allows system announcements to be managed in the Data Dictiona…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That might give you an idea of how to extend the page with your own markup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 22:25:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-adding-jquery-in-ftl-file/m-p/52694#M19820</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-05-30T22:25:08Z</dc:date>
    </item>
  </channel>
</rss>

