XF 2.3 How to create "New Threads" in this strip

Astra

Active member
I don't understand navigation and I don't understand how to create a "New Threads" section in this What's New strip, how to remove "New Media" - where is it even edited?

Снимок экрана 2025-02-05 в 18.11.41.webp
 
The TABS that you have underlined in red are part of one of XF's several Content Type Handlers called "FindNew". Any content type can implement a FindNew Handler. Part of implementing a FindNew Handler is creating a Template Modification that adds a Tab(s) for the Content Type to the whats_new_wrapper template (you can add multiple tabs via a single TM like XFMG does)

You can disable any TM that adds links to the whats new wrapper template, so if you don't want the 2 media tabs, just disable the whats_new_wrapper TM for XFMG (which adds two tabs, one for media and another for comments).

Selection_440.webp

You can also edit the whats_new_wrapper template to remove any of the core Find New tabs that are hard coded in that template.
 
Question number 2!
How to add the ability to see new topics that were opened on the forum?
It is strange that no one is interested in such a question, the main thing on the forum is messages and topics. Signals about new messages are everywhere, signals about new topics are not. There is only a widget that was added a year ago.
 
Back
Top Bottom