"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' )
like this.
<!-- 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.
http://magicmode.dothome.co.kr/nodebb/
It is source in my project.
please reply.
-
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?
-
Copyright © 2024 NodeBB | Contributors