On Tue, 2010-11-09 at 00:07 +0900, Kyle Hasegawa wrote:
> The plugin was last updated in Jan, 2010 (0.9.0rc2).  At that time Start 
> and End PublicGroupNav hooks didn't work with just $action->raw but 
> worked with $action->action->raw for some reason.  All other hooks 
> worked fine with just $action->raw.
> 
> The plugin needs updating so I'll check if this is still the case when I 
> update my dev instance to the latest statusnet version.

Aha! So, this looks like a documentation error on my part.

StartPublicGroupNav and EndPublicGroupNav don't take an action
parameter; they take the menu itself as a parameter. It's a Widget, it's
got an 'action' attribute, which is the current action.

I've just updated 0.9.x branch; should be correct now.

-Evan

-- 
Evan Prodromou, CEO, StatusNet Inc.
1124 rue Marie-Anne Est #32, Montreal, QC, Canada H2J 2B7
E: e...@status.net T: 438-380-4801 x101 W: http://evan.status.net/



_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to