Created
September 8, 2011 17:42
-
-
Save arush/1204058 to your computer and use it in GitHub Desktop.
oneall code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base > default > template > arush > oneall > scripts.phtml | |
<?php | |
if (Mage::helper('oneall')->isOneallEnabled()): | |
?> | |
<script type="text/javascript"> | |
var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http"); | |
document.write(unescape("%3Cscript src='" + oneall_js_protocol + "://evogue.api.oneall.com/socialize/library.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<?php | |
endif; ?> | |
default > ilovebrands > template > evogue > customer > form > login.phtml | |
<!-- The provider login will be embedded in this div //--> | |
<div id="oa_social_login_container"></div> | |
<script type="text/javascript"> | |
oneall.api.plugins.social_login.build("oa_social_login_container",{ | |
providers : ["facebook", "google", "twitter", "yahoo"], | |
callback_uri: "http://alpha.evogue.co.uk/index.php/arush-oneall/rpx/token_url/", | |
button_style: "icons" | |
}); | |
</script> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Admin config | |
API | |
Site Domain - Send your API requests to this domain. | |
https://brandid.api.oneall.com/ | |
Site API Access: Public Key : This is the username for authentified API requests. | |
a04a298d-11eb-4fd5-8f5d-86a88315408a | |
Site API Access: Private Key : This is the password for authentified API requests. | |
549ba351-f916-4831-8aa4-57a47a439803 | |
base > default > template > arush > oneall > scripts.phtml | |
<?php | |
if (Mage::helper('oneall')->isOneallEnabled()): | |
?> | |
<script type="text/javascript"> | |
var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http"); | |
document.write(unescape("%3Cscript src='" + oneall_js_protocol + "://evogue.api.oneall.com/socialize/library.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<?php | |
endif; ?> | |
default > ilovebrands > template > evogue > customer > form > login.phtml | |
<!-- The provider login will be embedded in this div //--> | |
<div id="oa_social_login_container"></div> | |
<script type="text/javascript"> | |
oneall.api.plugins.social_login.build("oa_social_login_container",{ | |
providers : ["facebook", "google", "twitter", "yahoo"], | |
callback_uri: "http://alpha.evogue.co.uk/index.php/arush-oneall/rpx/token_url/", | |
button_style: "icons" | |
}); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment