Jump to content
thirty bees forum
  • 0

Blockmyaccount always shows user links and logout button


Wartin

Question

Hello. I'm using TB bleeding edge and Niara theme. I have Blockmyaccount hooked in left column. It doesn't matter if the user is logged in or not, the module shows user links and the button to logout.

I would expect to show a form to login/create account or to not show anything at all.

Thanks!

Captura de pantalla -2020-07-14 17-28-37.png

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Yes, maybe it's better to hide it...

But... Well, I managed to change the .tpl of blockmyaccount and blockmyaccountfooter, with a {if $is_logged}.

Now it shows user links if logged, and 'Sign in' if it's not.

blockmyaccount (on left column)

694960561_Capturadepantalla-2020-07-1418-18-11.png.a79ab5a3910bdca0ed3c6d81d29baaea.png

blockmyaccountfooter

655708590_Capturadepantalla-2020-07-1418-17-37.png.fa20c9ba9b1af3ac1e5aa3625d9287ea.png

 

I attach the files, maybe they are useful.

 

blockmyaccount.tpl blockmyaccountfooter.tpl

Link to comment
Share on other sites

  • 0

I was having the same problem with "My account" block always showing up, even when not logged in...

I simply did a Reset in the Backoffice under the "Modules and Services" tab for the "Block My Account" and "Block My Account Footer" modules.

(Click Reset in the drop down list next to those modules under "Modules and Services" tab).

That fixed it with no code modifications.

Cheers

DanReset.thumb.png.2d7742695d710c4ca9d18c18b5f7815c.png

 

Edit, Naaaaaa!, the reset only moved the My Account block on the left side...Bummer!!!

I think this should be considered as a bug, this behavior is not seen on Prestashop 1.6

 

Edited by papagino
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...