Jump to content
thirty bees forum

Question

Posted

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

7 answers to this question

Recommended Posts

  • 0
Posted

i deactivated this block for me. otherwise it seems to me personally too much - as well as additional links that interfere with google & co if they are not marked as noffollow.

1. head area - ok
2. footer area - ok
3. left / right column - is too much for me

  • 0
Posted

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

  • 0
Posted (edited)

Thanks.

What are those harcoded URL, btw?

 

Edit: I mean fb() function, is it a button to go to top?

Edited by Wartin
  • 0
Posted

Oh, I see, it must be the advertising I suppose it appears in the admin of the module. There are two functions that call somewhere else, to facebook and a banner.

Bye!

  • 0
Posted (edited)

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

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