Jump to content


Photo
Hooker

How to import hooks?

Import Hooks

  • Please log in to reply
2 replies to this topic

#1 tsalstrand

tsalstrand

    Super Member

  • Members

  • 225 posts
  • Framework Version:latest
  • Country: Country Flag

Posted 09 July 2013 - 10:17 PM

Currently the hooker plugin doesn't recognize a hook for the section "navable"... how can I import a hook for it to recognize it?

 

You can see from this thread (http://www.pagelines...n-navable-menu/) that Nick did create the hook for his section and called it navable_after_search but it isn't showing up in the Hook Editor or Action Map so that I can add to it via Hooker.

 

When I export a hook that I've created in Hooker, it looks like the following: 

 

hookers.pimp
 

 
{"1371962115":{"hook":"pagelines_before_branding_icons","content":"<a href=\"tel:1-888-609-0882\" id=\"phone-right\" class=\"zmb\"><i class=\"icon-phone icon-spin\"><\/i> 1-888-609-0882<\/a>","php":false,"error":false,"priority":"10","enabled":"on","page_id":[""]}}

Do I need to create a similar file to be able to recognize Nick's newly created hook "navable_after_search"?

 

Thanks in advance!
Steve

 

 



#2 tsalstrand

tsalstrand

    Super Member

  • Members

  • 225 posts
  • Framework Version:latest
  • Country: Country Flag

Posted 09 July 2013 - 10:18 PM

...essentially, what do I need to create so that I can get Hooker to work with the new hook?



#3 tsalstrand

tsalstrand

    Super Member

  • Members

  • 225 posts
  • Framework Version:latest
  • Country: Country Flag

Posted 10 July 2013 - 04:54 PM

@Simon_P, any idea on this?







Also tagged with one or more of these keywords: Hooker, Import Hooks