XF 2.2 Question about custom title for forum types

SyTry

Well-known member
Hello, so in my add-on :

I have a function to change the Thread Title, but it don't work well with question/article/suggestion forum types. For discussion type, it works great :
Prefix - My title - Board Name

But in question/article/suggestion with the same structure I have this :
Prefix - My title - Board Name | Board Name

If I delete the balise the title in thread_view, the default title is "XenForo" (board name). I don't find the problem, or the solution. Do we have a default title for question/article/suggestion ?

XenForo 2.2.3 Patch 1

Edit : find it, the problem is because I only use the thread_view template, not thread_view_type_question, etc 🤦‍♂️
Regards, SyTry
 
Last edited:
Top