• 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

#1
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
 

EQnoble

Well-known member
#2
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
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>