1. 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}

Discussion in 'Resolved Bug Reports' started by Rigel Kentaurus, Mar 12, 2011.

  1. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    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
     
  2. Kier

    Kier XenForo Developer Staff Member

    Yep, my bad. Fixing now.
     

Share This Page