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

XF 1.2 Modifying Email Templates

Warchamp7

Active member
#1
I'm working on changing the styling and in conversation_reply_messagetext, there's a section that places {xen:raw $message.messageHtml} into a block. Where is the template for that so I can adjust the styling on it? I can't seem to find it
 

Warchamp7

Active member
#3
Yes I know, I've already modified some, but I can't find which template generates the content of the post in the conversation reply template

Code:
<td width="100%" style="font-family: Georgia, 'Times New Roman', Times, serif; font-size: 11pt; line-height: 1.4">
        {xen:raw $message.messageHtml}
    </td>
Where or how does $message.messageHtml get constructed in conversation_reply_messagetext?
 

Brogan

XenForo moderator
Staff member
#4
I'm not really sure what you're asking.

It is passed to the template from the PHP file/code.
 

Warchamp7

Active member
#5
I'm not really sure what you're asking.

It is passed to the template from the PHP file/code.
If there is a quote though, it has styling and such.

In those cases, the contents of $message.messageHtml can look like
Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="
            background-color: #FFF4E5;
            border: 1px solid #F9D9B0;
            border-radius: 5px;
            margin: 1em 86px 1em 0">
<tbody>
<tr>
<td style="
                background-color: #F9D9B0;
                border: 1px solid #F9D9B0;
                border-bottom-color: #F9BC6D;
                border-radius: 4px;
                font-size: 11px;
                font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
                line-height: 1.4;
                padding: 3px 8px;
                margin: 0;
                color: #141414">[Quoted User Name]
</td>
</tr>
<tr>
<td style="
                font-size: 9pt;
                font-style: italic;
                font-family: Georgia, 'Times New Roman', Times, serif;
                line-height: 1.4;
                padding: 10px;
                margin: 0">[Quoted Message Text]
    </td>
</tr>
</tbody>
</table>
[Normal Message Text]
Image:


I want to change the styling on the quote in this case, and I can't find where that markup comes from
 
Last edited: