Jump to content
thirty bees forum
  • 0

I want to use My account block in DisplayHeader hook but it does not work.


Question

Posted

I tried both TB and PS versions of the module and I'm using one of the left header versions of Warehouse. I need this block to show under the cart but it does not allow to show in the sellected hook.

I have to manually add link in top bar and then there's no exit option easily visible.

Of course the hook does not show in the list with choices when I want to transplant it.

Do some of you use Warehouse with the same configuration?

7 answers to this question

Recommended Posts

  • 0
Posted

Anybody to jump up with me on this one?

I'm really stuck.

The tb module have all hooks as ps one but obviously the issue is somewhere else. displayHeader hook simply does not show when I want to transplant it there.

public function hookDisplayHeader($params) { $this->context->controller->addCSS(($this->_path).'blockmyaccount.css', 'all'); }

  • 0
Posted

The hook displayHeader is not visible in positions at all. So I can't use it to add My Account block there.

But Cart and search are visible but I think they are hooked elsewhere.

I only have hook Header which is as we know not what we need to show items in the header...

  • 0
Posted

Ok I have to admit, that I almost never add hooks like that.

But can't you play a bit around? Maybe comment the other hooks out and see if they still appear. I am confused, since you wrote, you use ps and tb module. Maybe a mess happened somewhere. Also check if the correct files are on the FTP server. Sometimes upload doesn't work :)

  • 0
Posted

I tried twice (today and when I created this thred). Both times with zero success. And today I noticed that the hook is not visible in Possitions menu at all. Which is very strange. When I open FrontController it's there.

Can you check if you see DisplayHeader in your possitions with 1.0.6 or any other version?

I tried ps and tb version of My account block which must add the "Login" tab and profile items there. The footer one is working perfect.

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