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

XF 1.4 Custom seo-titles for subforums

#5
Found it <removed>

<xen:if is="{$forum.node_id} == x">
This content will show in forum x
</xen:if>

or using this

in_array({$thread.node_id}, array(y, z))
 
Last edited by a moderator:
#7
This didnt work, when editing PAGE_CONTAINER all threads also changed title plus forum.

Anyone know how to fix this? Something like this maybe
<xen:if is="{$forum.node_id} == 2 and {$contentTemplate} == 'xyz'">
This content will show on the xyz template and id 2
</xen:if>
 
#9
This stopped working in XF 1.5.

Code:
  <xen:if is="{$thread.thread_id} == 30">
     <title>xxx</title>  
   <xen:else />
     <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
   </xen:if>
thread id 30 shows the standard title, not my custom one. Any idea why?