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

custom text above the breadcrumb ?

Discussion in 'XenForo Questions and Support' started by ExpertPixels.com, Mar 15, 2011.

  1. ExpertPixels.com

    ExpertPixels.com Well-Known Member

    Hi all,

    Wondering how i would go about adding some custom text above the breadcrumb section, i only want this text to appear on the main page and not other pages like the members page and any custom pages etc.

    Thanks in advanced for any help on this topic.

    Regards, Darren
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You could use the new ad_above_top_breadcrumb template and wrap it in a conditional for forum_list.

    Something like this should work:
    <xen:if is="{$contentTemplate} == 'forum_list'">
    Your text here
  3. ExpertPixels.com

    ExpertPixels.com Well-Known Member


    Thanks Brogan, your a champion :) working a treat now, ended up using a nice jQuery slider instead of the text... Will provide a tutorial for this soon as i am happy with the outcome, will also provide due credits to you for your assistance :)

    Regards, Darren
  4. Brogan

    Brogan XenForo Moderator Staff Member

    That sounds to me like there's a problem with your member page template.

    Has it only just started doing that after you added the content to the ad template?
  5. ExpertPixels.com

    ExpertPixels.com Well-Known Member

    Sorry mate, my bad i was placing the html directly into the "Page_Container" template, after adding it to the "ad_above_top_breadcrumb" template it started behaving.. sorry i edited my post as quickly as i could..

    Awesome support :) (Something that other forum software company could learn from :p )
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Thanks, glad to hear it's all working and look forward to the tutorial.

Share This Page