Nice!! this is going to help me alot!!
note: this is an example where when you click on the comment, it goes to the page the comment was made for, but since theres no comment module, you have to scroll down and manually click on the disscuse button
Nice!! this is going to help me alot!!
note: this is an example where when you click on the comment, it goes to the page the comment was made for, but since theres no comment module, you have to scroll down and manually click on the disscuse button
a bit early for christmas presents… thanks!
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
I was thinking about this upcoming module the other day and where it would have been perfect…. but now I've forgotten where I was going to put it…! :s
Shouldn't there be an option in the Site Manager that allows/disallows this option; to stop people from changing one's theme?
…hmmm, just a thought. Can this be inserted into comments?
Testing:
[[module CSS show="true"]]
body {
background-color:black;
}
[[/module]]
Ok, glad it cannot be put into comments :D
Every module is disabled from working in a comment. For the CSI module, this is annoying - for every other module, it is useful in the way you just demonstrated.
Nice!! this is going to help me alot!!
I've forgotten what the whole point of this module was. Can anyone give me a use-case, to help me think of ways to use this myself?
e.g. if I wanted a single page to have a theme applied to it, I'd just put it into it's own category. How is this different, apart from preventing us from having to create separate categories? :)
edit: Actually, I think the main use-case had something to do with CSIs. Might make the chatroom easier to install. Any other suggestions…?
Shane Smith ★ Website: Wikidot Development & Programming. ★ STE Wikidot Editor: Windows. Mac. Linux. ★ Twitter. Google+.
update — forget it. I'm just confused.
LOL ;-) Do you want help with this or not? ;-)
Basically, the CSS module lets you add CSS for the page that the module is on. My understanding is that the CSS is added to the end of the theme for that page only, therefore it over-rides any previous elements with the same name…
[[module CSS]]
body {
font-family: Calibri, Verdana, Arial;
}
[[/module]]
That would override the font-family attribute in body for the page that the CSS module is on only.
Some things to remember:
Post again if you're having trouble understanding. Most of the time it helps just to experiment on a private sandbox and see how things work as you learn faster that way than just reading about it :)
Shane Smith ★ Website: Wikidot Development & Programming. ★ STE Wikidot Editor: Windows. Mac. Linux. ★ Twitter. Google+.