KamelJabber
Member
I'll be honest, maybe this is Widget Framework question? Sorry if its...
I created a hook in the message template under the signature div like so:
I then created a new template called "custom_signature_template"
I then created an "[Advanced] Template (without wrapper)" widget.
Set the template to "custom_signature_template" and the position to "hook:message_below_signature"
Every single message has the message_user_id & message_id of the first message in the thread.
I was expecting that each message would receive the parameter values for that specific message.
Looks like it's almost loading the hook template contents once and feeding it to every hook event?
Dunno
TY!
I created a hook in the message template under the signature div like so:
Code:
<xen:hook name="message_below_signature" params="{xen:array 'message_user_id={$message.user_id}','message_id={$messageId}'}"/>
I then created a new template called "custom_signature_template"
Code:
message_user_id: {$message_user_id}<br/>
message_id: {$message_id}
I then created an "[Advanced] Template (without wrapper)" widget.
Set the template to "custom_signature_template" and the position to "hook:message_below_signature"
Every single message has the message_user_id & message_id of the first message in the thread.
I was expecting that each message would receive the parameter values for that specific message.
Looks like it's almost loading the hook template contents once and feeding it to every hook event?
Dunno
TY!