i had same issue and solved it by edit config.json as this
{
"url": "http://myurl.com",
"secret": "..................",
"database": "redis",
"redis": {
"host": "127.0.0.1",
"port": "6379",
"password": "?????",
"database": "0"
}
}
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?