I'm trying to enable a PM button in the 'conversation_footer' by placing a hook at 'conversation_footerleft'
My a href is as follows:
I tried to pass the Hook Arguments by using these in the Hook config:
conversation.userid=conversation.userid
also tried:
userid=userid
And I tried a lot more.
However, it seems that I do something wrong? It ends up with value 0.
When I place my code directly in the 'conversation_footer' template it is all working fine. But I like the hook idea instead of modifying the template itself.
Any thoughts what I'm missing?
My a href is as follows:
Code:
<a href="{vb:raw baseurl}/privatemessage/new/{vb:raw conversation.userid}"
conversation.userid=conversation.userid
also tried:
userid=userid
And I tried a lot more.
However, it seems that I do something wrong? It ends up with value 0.
When I place my code directly in the 'conversation_footer' template it is all working fine. But I like the hook idea instead of modifying the template itself.
Any thoughts what I'm missing?
Comment