Jump to content

Creating a positionable hook


Recommended Posts

Hi, I cant find any info on positionable hooks, why are the hooks I create non positionalbe / invisible?

 

I also have the following problem:

 

I've created a hook on the top menu, and then I've installed and registered that hook from the BlockCart module, my ideia is to have the BlockCart showing at that hook, I've made the changes an re-installed BlockCart, but the hook is still empty, why is that? Any ideas?

 

Thanks

Link to comment
Share on other sites

How are you registering the cart block to the hook exactly?
Also, I thin the only way to set it to positionable is by adding it the old way (adding the db entry manually), but since it's already there, I suggest you change the value in the database

Link to comment
Share on other sites

The documentation is pretty bad, I managed to make it work changing the function name and hook name, it seams "hook" is a reserved word, so if you have a hook named "hook" it doesnt work or soemthing...


PS: I'm a big fan of your videos, you should make more presta tutorials, I'm a subscriber in youtube, thank you so much for your work!!

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