@pitaj try npm install --production
Help with benchpress conditional syntax
Solved
Technical Support
-
@baris said in Upvote / Downvote Function On Topic Level:
{{{ if (template.category && (cid == "3")) }}} Display only on /category page and category id is 3 {{{ end }}}
Sorry for bump the old topic, I heed help with syntax.
I'm want show a custom content in topic title from specific categories, this code is worked, but only for the one category, I don't understand how to add morecid
?For example, this code show content in category with cid 4.
{{{ if (cid == "4") }}} <span>Pay</span> {{{ end }}}
I need add cid 3, 7 and 9. I try this combination and get error when try rebuild:
{{{ if (cid == "4") || (cid == "7") }}} {{{ if (cid == "4") && (cid == "7") }}} {{{ if (cid == "4" "7") }}} {{{ if (cid == "4" && "7") }}} {{{ if (cid == "4" || "7") }}}
-
@brazzerstop the following should work I think
{{{ if (((cid == "3") || (cid == "7")) || (cid == "9")) }}}
-
@brazzerstop the following should work I think
{{{ if (((cid == "3") || (cid == "7")) || (cid == "9")) }}}
-