We are hiring plugin developers to develop custom plugins
Also highly preferred if you have experience in making the nodeBB into an ios/android app
contact me at
or discord (preferred)
dgTroy#0996
I have a problem with implementing a masonry library script into my theme. I followed this https://github.com/NodeBB/nodebb-theme-lavender/blob/master/plugin.json to see how it should be done. Of course I changed "lavender" to "my theme name". So now my files looks like this:
The problem is that my site then crashes. And it says that the problem is unexpected token }
http://screencast.com/t/QXeJAsgwF and that is weird because I never changed those files.
Remove the comma at the end of the template line in your theme.json file
"templates": "templates"
@a_5mith and once again you saved my day, tnx. I had to remove coma in plugin.json too on last line
"static/vendor/masonry.js"
but yes, commas were problem.^^
@Jelena You're welcome, didn't look in the plugin file. glad you've got it working,