XF 1.2 member_view template meta description

william1872

Member
Hi all,

I've only been using xenforo for about 6 weeks now and still feeling my way around, I'm not a coder and would like to ask a question about the member_view template meta description.

Is it possible to pull the first few lines from 'About You:' section, and if that section is blank revert back to the default?

I think this is the line in the member_view template?

<meta name="description" content="{xen:phrase x_is_a_y_at_z, 'name={$user.username}', 'title={xen:helper stripHtml, {xen:helper usertitle, $user}}', 'location={$xenOptions.boardTitle}'}" /></xen:container>

Thanks

William
 
<xen:if hascontent="true">
<xen:contentcheck>
[Code that may or not contain content]
</xen:contentcheck>
</xen:if>

Is what you should probably use if you are thinking of using a few lines of code or more. This kind of syntax is already used in member_view so that would be a good place to look for an example.
 
Top Bottom