Coder Social home page Coder Social logo

Comments (5)

realmofevil avatar realmofevil commented on June 19, 2024

Hello, a client just noticed that and I came in to write about the same thing but it is already in the issues. So bump instead.
Is it intentional?

Edit: I have found out here http://docs.oneall.com/plugins/guide/social-login-prestashop/ that it might be related to a problem with the theme. So I tried as explained there to add {$HOOK_OASL_CUSTOM} at several places in the .tpl files. Sadly it doesn't work since it prints a plain text string with the script on the page. Any suggestions on how to add the custom hook?

Edit 2: A sneaky edit on the docs site corrected the hook to {$HOOK_OASL_CUSTOM nofilter}, so now it works properly in the template files.

from social-login-prestashop.

jmcortinag avatar jmcortinag commented on June 19, 2024

Hello, a client just noticed that and I came in to write about the same thing but it is already in the issues. So bump instead.
Is it intentional?

Edit: I have found out here http://docs.oneall.com/plugins/guide/social-login-prestashop/ that it might be related to a problem with the theme. So I tried as explained there to add {$HOOK_OASL_CUSTOM} at several places in the .tpl files. Sadly it doesn't work since it prints a plain text string with the script on the page. Any suggestions on how to add the custom hook?

Edit 2: A sneaky edit on the docs site corrected the hook to {$HOOK_OASL_CUSTOM nofilter}, so now it works properly in the template files.

Specifically in which files you managed to get it?, I have tried several without success

Thanks for your answer

from social-login-prestashop.

realmofevil avatar realmofevil commented on June 19, 2024

It depends where you want it to appear, you have to decide that for yourself. The path to the template files of your theme is YourPrestashopInstall/themes/yourthemename/templates. After all, the button appeared when placing the hook but it still didn't work even on the latest prestashop 1.7.6.4 and couldn't login with FB or Google, or anything else. In the end after a lot of wasted time I found this module which worked for FB login. https://www.prestashop.com/forums/topic/494491-free-module-facebook-login-registration/ https://hipresta.com/free-prestashop-modules/10-facebook-login-registration-module.html

from social-login-prestashop.

jmcortinag avatar jmcortinag commented on June 19, 2024

It depends where you want it to appear, you have to decide that for yourself. The path to the template files of your theme is YourPrestashopInstall/themes/yourthemename/templates. After all, the button appeared when placing the hook but it still didn't work even on the latest prestashop 1.7.6.4 and couldn't login with FB or Google, or anything else. In the end after a lot of wasted time I found this module which worked for FB login. https://www.prestashop.com/forums/topic/494491-free-module-facebook-login-registration/ https://hipresta.com/free-prestashop-modules/10-facebook-login-registration-module.html

It worked for me, but I could not add it to this URL
https://www.tubodeguita.co/pedido

You know what is the file that I must edit and in what part to place it, I am really a novice, thanks

from social-login-prestashop.

realmofevil avatar realmofevil commented on June 19, 2024

Just do a simple text search in the files, this page appears to be templates\checkout\cart.tpl

from social-login-prestashop.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.