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

XF 1.4 Editing Prefix Titles?

#1
Is there a way to customize Prefix titles? For example, on the browser tab it will read:
Prefix - Forum title etc.

I would like it to be: [Prefix] Forum title etc.

Capiche?
 
#3
Hello, Maru.

I can't seem to get it working right. I'm putting the brackets around:
{xen:helper threadPrefix, $thread, escaped} but it's still throwing in the dash, giving me:

[Prefix - ] Forum title etc. - Name of Site
 
S

Syndol

Guest
#4
In thread_view try:
<xen:title><xen:if is="{$thread.prefix_id}">[{xen:helper threadPrefix, $thread, escaped, '] '}<xen:else />{xen:helper threadPrefix, $thread, escaped}</xen:if>{$thread.title}{xen:helper pagenumber, $page}</xen:title>
 
Last edited by a moderator:
#5
In thread_view try:
<xen:title><xen:if is="{$thread.prefix_id}">[{xen:helper threadPrefix, $thread, escaped, '] '}<xen:else />{xen:helper threadPrefix, $thread, escaped}</xen:if>{$thread.title}{xen:helper pagenumber, $page}</xen:title>
Ladies and gentlemen, we have a winner! Thank you. :)