Im sure I wont be the first person to ask this.
I need to have some extra info on a landing page, where people can login before going to forum page.
Im a moderate coder, so know how to get input fields. But then how do I pass username & password to the forum page to login automatically? I did see there is a tutorial for landing page but that didnt seem to have login function?
For security, is it better the landing page hashes the password and only passes that through in hashed format?
Masonry.js on category page
-
How can I apply masonry layout on category page? Consider that I am building my nodebb theme based on vanilla theme. So my category page looks like this http://screencast.com/t/LifqTQsa and that is not cool as you can see.
I called masonry.js in plugin.json following the lavender theme example and copied the content of lavender.js file into mine. I tried to make it work by changing this codemasonry = new Masonry('.row.home > div'
into this
masonry = new Masonry('.row.category > div'
It didn't worked. Is that even possible to do with just changing lavender.js to affect on category page instead on homepage?
-
@esiao That didn't worked, it looks like it doesn't even loads masonry.js for some reason. How can I see is the scirpt loaded and is it loaded correctly? Maybe some cmd command? I followed all instructions in setting up plugin.json and theme.json and I am pretty sure that I did it right. I can't figure out what can be the problem. Any other suggestions?
Tnx anyway ^^