0 Replies Latest reply on Jul 8, 2013 3:06 AM by KosPol

    CQ5.6 | Social connect | JS error for login component

    KosPol Level 1

      Hi everyone,

       

      I am trying to integrate a Facebook login fucntionality to my custom CQ app, following the instructions here: http://dev.day.com/docs/en/cq/current/administering/social_communities/social_connect.html

       

      However, when I finally add the sociallogin component to my page, upon clicking the 'SignIn' link, I get the following JS error:

       

      TypeError: $CQ(...).dialog is not a function

       

      $CQ("#"+dialogId).dialog(options);

       

       

      The JS code is located in /etc/clientlibs/social/connect/source/SocialAuth.js and it comes OOTB with CQ5.

       

      As such, I was wondering if anyone else had this issue before and what steps are required to resolve this.

       

      Thanks in advance,

      K.