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

XF 1.2 member_view template meta description

Discussion in 'XenForo Questions and Support' started by william1872, Nov 12, 2013.

  1. william1872

    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?


  2. Jon W

    Jon W Well-Known Member

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

    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.
    william1872 likes this.
  3. william1872

    william1872 Member

    That's great thanks very much Waindigo : )


    Looking at the code, it's a bit too advanced for me, will need to research a bit more...
    Last edited: Nov 12, 2013

Share This Page