Jump to content

Smarty-Check "if user is logged in" ?


Recommended Posts

  • 1 year later...

Hello,

 

I understand the idea but my problem is:

 

we have the "html box pro" module for prestashop 1.6. With this module we added a log in button on the right top (color blue you'll see). Since now no problem when click this button redirect to log in page where you enter your log in data. Right... i want now when log in has succefully finish redirect to home page (this works) but when i redirect to home page make no visible this button becouse the user has log in already. I found JQuery function call toogle and works. The question is how can i access by code to the html box pro module from the home page to execute the JQuery than make disappear my log in button?

 

This is the url of our shop: http://auxiliardeaguas.es/es/

Edited by sricco (see edit history)
Link to comment
Share on other sites

  • 1 year later...

Hi! could you solve this issue?

 

We are facing same issue with a module called Contentbox (contentbox.org).

 

We added social network html buttons, in our popup section, in the navbar, but when user is already logged, we would like to hide it.

 

In my case, i'm interested in know if there is any way to may this check in html view, using javascript?

 

THanks if anybode can solve this issue.

Link to comment
Share on other sites

  • 2 years later...

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...