- پشتیبانی از نسخه های
-
- 2.2
- نیاز به ویرایش مجوزهای گروههای کاربری
-
- نیست
Adds a new template variable $xf.reply.templateParent which groups all thread_view* and forum_view* templates together.
XenForo 2.2 adds multiple variations to the thread_view and forum_view templates for the various new thread types:
...we must now do this:
An easier way
This addon adds a new template variable we can use to check if the template "parent" is thread_view or forum_view, so we can simply do the following instead to target all templates of that type:
...or:
XenForo 2.2 adds multiple variations to the thread_view and forum_view templates for the various new thread types:
- thread_view_type_article
- thread_view_type_poll
- thread_view_type_question
- thread_view_type_suggestion
- forum_view_type_article
- forum_view_type_question
- forum_view_type_suggestion
...we must now do this:
An easier way
This addon adds a new template variable we can use to check if the template "parent" is thread_view or forum_view, so we can simply do the following instead to target all templates of that type:
...or: