I have a couple questions, any help is appreciated!
-
I'm making my own theme and moved some elements around, so I'm having trouble with some things...
-
How do I change the tooltips on the menu to point up?
-
What's the best way to edit the composer? I want to css the shit out of it and edit the template as well.
-
What's the best way to run scripts in my theme? I have a specific command I want to run every time a new page loads so global javascript isn't the best way to go. Currently I have a partial template with the code I want in a <script> tag and just import the partial template to each page. Is this the best way to do it?
-
Is there a way I could copy a database into mine so I can test everything? I'm building out the theme and since I don't have any content on the forums I can't see certain HTML elements such as the pagation or the tags.
-
I'm building this out for a big client and expect to have tens of thousands of users piling on the first day. What sort of optimizations or precautions should I look out for with such heavy traffic?
Thanks in advance!
-
-
Regarding the composer specifically... That's a separate plugin, so you may want to fork it if you want to make structural changes... But adding your own LESS should work fine to override existing styles.
In terms of optimization, you'll want to run multiple servers to scale out (and if you have multiple cores on your server, then you can run multiple processes on one server).
The scaling docs contain some information regarding this: https://docs.nodebb.org/configuring/scaling/
-
that covers numbers 2 and 5, thanks! I eventually figured out numbers 3 and 4, so my last question would be: how to I change the direction of the tooltips on the navbar to go up?
-
JS sucks
JS is commonly used by crackers so its not trustworthy language.
-
Um.... ok.
How did you come to this conclusion?