Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Clicking the site login button at the bottom of the page fires an onSiteLoginClicked event. To register to this event, set the onSiteLoginClicked parameter of the comments .showCommentsUI method with a reference to an event handler function. This function should open a popup or redirect the user for the site login page. The following sample code illustrates this:

...

Note that the popup or site login page should include Gigya's Login add-on.  

Panel
borderColor#81C0FC
bgColor#F4F7FC
borderWidth1
borderStylesolid

Note: If you have a site login implementation that redirects the user or refreshes the page after logging in, then logging the user into the site from the Comments add-on leads to the user losing the comment they have typed. We recommend combining the Comments add-on with an AJAX-based login process that does not require a redirect or page refresh.

...

Any elements on the add-on that has an ID can be overridden with supported style attributes. There are dozens of elements on the add-on. You may use Firebug to identify an the HTML element elements on the add-on and  using developer tools, and assign a new style to it. Please make sure to use the add-on's container <div> ID when assigning style, so it will not affect other elements on the page.

...