Quote:
Originally Posted by cheesegrits
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
|
Ooooh.... Great pointer. I'll see that this gets updated this week.