• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  message_content hook does not pass {params}

Rigel Kentaurus

Well-known member
#1
In the template, message, the hook:

Code:
       <xen:hook name="message_content">
        <div class="messageContent">
            <article>
                <blockquote class="messageText ugc baseHtml">
                    <xen:include template="ad_message_body" />
                    {xen:raw $message.messageHtml}
                </blockquote>
            </article>

            {xen:raw $messageContentAfterTemplate}
        </div>
        </xen:hook>
Does not have any params, making the $message variable completely unavailable