Jump to content

how to change position of paypal login


Recommended Posts

Well, I don't have paypal europe and also don't have the facebook login, but I think paypal is hooked on create account form, so you can edit the authetication.tpl file, search for hook create account, and move to the bottom.

Link to comment
Share on other sites

  • 1 year later...

Very simple!!

Look for paypal_login.js in modules/paypal/views/js

 

then change here the position for example....

$(function(){ldelim}if($("#create-account_form").length > 0)
{if $smarty.const._PS_VERSION_ >= 1.6}
  /* $("#create-account_form").parent().before('<div id="buttonPaypalLogin1"></div>');*/
  $("#NewButtonPosition").parent().after('<div id="buttonPaypalLogin1"></div>');
{else} .....

now in the authentication.tpl add a <div id="NewButtonPosition"></div> where you want the button!!!

 

Byebye B)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...