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

template of "posts"?

Discussion in 'Styling and Customization Questions' started by Claudio, Dec 21, 2011.

  1. Claudio

    Claudio Well-Known Member

    I want to insert a script only into messages, so I want to ask which is the template of all posts...

    I mean, the script works in this way:
    Text of the post

    Is {xen:raw $message.messageHtml} the message in the post?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member


    Admin CP -> Appearance -> Templates -> message

    		<xen:hook name="message_content" params="{xen:array 'message={$message}'}">
    		<div class="messageContent">		
    				<blockquote class="messageText ugc baseHtml{xen:if $message.isIgnored, ' ignored'}">
    					<xen:include template="ad_message_body" />
    					{xen:raw $message.messageHtml}
    			{xen:raw $messageContentAfterTemplate}

Share This Page