Quote:
Originally Posted by Ted S
Maybe I'm missing something..... I see the hook locations in the zip file. Is there something else needed to trigger them that you're not seeing?
|
There's no ./includes/xml/hooks_helpfulanswers.xml, so your hooks don't show up in the available hooks list when creating a plugin.
Like this:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<hooks>
<hooktype type="helpfulanswers">
<hook>helpfulanswers_top_start</hook>
</hooktype>
<hooktype type="helpfulanswers">
<hook>helpfulanswers_top_query</hook>
</hooktype>
<hooktype type="helpfulanswers">
<hook>helpfulanswers_top_loop</hook>
</hooktype>
<hooktype type="helpfulanswers">
<hook>helpfulanswers_top_done</hook>
</hooktype>
<hooktype type="helpfulanswers">
<hook>helpfulanswers_prerate</hook>
</hooktype>
<hooktype type="helpfulanswers">
<hook>helpfulanswers_dorate</hook>
</hooktype>
<hooktype type="helpfulanswers">
<hook>helpfulanswers_show_ajax</hook>
</hooktype>
</hooks>
-- hugh