Not right now since it's part of the moderation privilege.
"If sentence in templating logic" does not work perfectly.
i'm used nodeBB with Template.js.
Today i had problem.
I'm have made Custom 'Tpl'. Two Type Category Style. (list , grid Style)
It's located in '/partial/topic_list.tpl' , '/partial/topic_list_grid.tpl' .
so That is used in Category.tpl. ( ' templates/category.tpl' )
<!-- IF isGridCategory -->
<!-- IMPORT partial/topic_list_grid.tpl -->
<!-- ELSE -->
<!-- IMPORT partial/topic_list.tpl -->
<!-- ENDIF isGridCategory -->
I want to operate normally "IF Sentence"
But It isn't.
Please see the following URL.
It is source in my project.
What's the end result? Also post tjs version please
I found that latest Template.js version is 3.0.
how to do update Template.js version in nodebb project?
i updated template.js version 3.0.
but this problem is not solve.
@HEESUB-BAE Do either of the imported templates contain conditionals with ELSE?
As far as I know, nested IF..ELSE does not work yet.I was wrong, it works perfectly fine.