Moving homepage from postbit to message template

Michael

Active member
Does anyone know how to move the homepage field from showing in the postbit/user info section into the message template? I find that with the current width it looks awfully squashed and I dont fancy expanding it. I have tried this code even within a new div inside the message template but it isnt showing up and not in the source. Any ideas on how to successfully do this?

HTML:
<xen:if is="@messageShowHomepage AND {$user.homepage}">
                    <dl class="pairsInline">
                        <dt>{xen:phrase home_page}:</dt>
                        <dd><a href="{xen:string censor, $user.homepage}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</a></dd>
                    </dl>
                </xen:if>

Thank you.
 
You need to change $user to $message:

Rich (BB code):
<xen:if is="@messageShowHomepage AND {$message.homepage}">
	<dl class="pairsInline">
		<dt>{xen:phrase home_page}:</dt>
		<dd><a href="{xen:string censor, $message.homepage}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $message.homepage}</a></dd>
	</dl>
</xen:if>
 
Top Bottom