template of "posts"?

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:
<script>
Text of the post
</script>

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

Yep.

Admin CP -> Appearance -> Templates -> message

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