Jump to content

How to use more than 1 custom hook?


Andy259

Recommended Posts

I found a post here , which works  great but now I want to do the same thing just the button going to a different URL, I have tried changing the module name as well as the folder and all the references I can find to custom(as thats What the module is called.)

does anyone know what other code i would nedd to change?  

 

Link to comment
Share on other sites

6 hours ago, web2008 said:

You can use as many custom hooks as you want, as it is the name that must be unique for each individual hook.

Thanks web2008, I have changed all the names in the example above it was named Custom so i changed it to something else, now if i create another custom hook and just call it custom it either doesn't show in the modules or wont work at all

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated