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

XF 1.2 Editing page title

Discussion in 'Styling and Customization Questions' started by Preemo, Aug 29, 2013.

  1. Preemo

    Preemo Member

    Hi all,

    I want to have just my board name in the board title section in options, however on the actual page title I want to have the board name and a short description.

    For example, the board title for this is XenForo Community. I'd want mine to be XenForo Community | A forum for XenForo customers

    Does anyone know how to do this?

    Thanks
    Ryan
     
  2. EQnoble

    EQnoble Well-Known Member

    Haven't really tried it but this may work...

    Edit template: PAGE_CONTAINER

    Find:
    Code:
                                    <h1><xen:if
                                        is="{$h1}">{xen:raw $h1}<xen:elseif
                                        is="{$title}" />{xen:raw $title}<xen:else
                                        />{$xenOptions.boardTitle}</xen:if></h1>
    Add this to the next line after </h1>:
    Code:
                                        <xen:if is="!{$title} or !{$h1}">
                                            <span class="titleDesc">A forum for XenForo customers</span>
                                        </xen:if>
     

Share This Page