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

XF 1.4 how to remove title board from title only in thread view

Discussion in 'XenForo Questions and Support' started by jamalfree, May 13, 2015.

  1. jamalfree

    jamalfree Active Member

    hi
    how to remove title board from title only in thread view!!!
    i try to edit PAGE_CONTAINER template and put condition to remove "| {$xenOptions.boardTitle}" only from thread view but i Failed
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Which title are you referring to?

    The board title isn't displayed on threads.
     
    jamalfree likes this.
  3. jamalfree

    jamalfree Active Member

    i want board title showing in all pages except threads
    change from this one
    <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
    to
    <title><xen:if is="{$title}">{xen:raw $title}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Use a template conditional statement for the thread_view template.
     
    jamalfree likes this.
  5. jamalfree

    jamalfree Active Member

    can you bragan correct this condition please
    <title><xen:if is="{$title}">{xen:raw $title}<xen:if is="{$contentTemplate} != ' thread_view'"> | {$xenOptions.boardTitle}</xen:if><xen:else />{$xenOptions.boardTitle}</xen:if></title>
     
  6. Donny

    Donny Active Member

    <title><xen:if is="{$title}">{xen:raw $title}<xen:if is="{$contentTemplate} != ' thread_view'"></xen:if><xen:else />{$xenOptions.boardTitle}</xen:if></title>
     
  7. OperaManiac

    OperaManiac Well-Known Member

    I have a similar query that has remained unanswered for a few days now. If possible can anyone take a look? Thanks!
     

Share This Page