Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pop-up dialog for authentication to SocialConnect extension #1

Open
anatolykazantsev opened this issue May 27, 2015 · 0 comments
Open

Comments

@anatolykazantsev
Copy link

We need to modify this extension to show a pop-up dialog when a user wants to register/login using social networks.

Overall design

  1. Show a pop-up dialog to register or log-in action when a user clicks on Log in or on Register links. 2. The dialog should contain a form with email and password and buttons for social networks.
  2. Split the dialog into two parts: left - log in/register forms, right for social buttons.

See following images for a layout example:

login
register

Templates

Re-use existing templates as much as possible, so that the pop-up dialog has the same design as the theme in use.

Use default Magento templates for registration (customer/form/register.phtml) and log in (customer/form/login.phtml) actions
Add support for persistent templates (persistent/customer/form/login.phtml and persistent/customer/form/register.phtml).

The dialog should contain both register and log in actions to let the user switch between them using only CSS without additional HTTP requests.

Social buttons part should be re-used from SocialConnect as is. See app/design/frontend/base/default/layout/inchoo_socialconnect.xml and app/design/frontend/base/default/template/inchoo/socialconnect/customer/form/register.phtml files.

Javascript

Pop-up dialog should work with the new RWD-based theme, so the extension should use jQuery.

Code and repository

New code must follow the project's style:

  • 1 indent = 4 spaces
  • Line ending = LF (unix)

Create a fork of the project under your account and use a separate branch on top
of the project's develop branch. Give it a self-descriptive name, e.g. popup-auth.

Split changes into logically separated commits. Each commit should have a short
title and more detailed comment.

Use the same license text as in other files in this project: acknowledge Inchicoo, change the copyright to mVentory Ltd. and author to your name.

anatolykazantsev pushed a commit that referenced this issue Nov 23, 2015
Graph API expects a list of required fields as a comma-separated quer…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant