do we have a special folder to put user module specific CSS?\nAnd how to load it? Nothing in the module building guide ...

asked 20 Mar '14, 11:00

opto's gravatar image

opto ♦
8134072129
accept rate: 10%

retagged 20 Mar '14, 11:00


That's a great question. I don't know that I've ever considered that one. I'd recommend keeping it named {module}.css so we can eventually get the system to autoload at some point. In the short term, you can mimic the Risks Module and just hardcode it:\nhttps://github.com/web2project/modules-risks/blob/master/risks/vw_idx_risks.php#L28 Does that seem reasonable?
permanent link

answered 21 Mar '14, 07:30

caseydk's gravatar image

caseydk ♦♦
717243347
accept rate: 31%

answered 21 Mar '14, 07:30

yes, that is a good idea.
permanent link

answered 21 Mar '14, 11:20

opto's gravatar image

opto ♦
8134072129
accept rate: 10%

answered 21 Mar '14, 11:20

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×6
×3

question asked: 20 Mar '14, 11:00

question was seen: 204 times

last updated: 21 Mar '14, 11:20

powered by Bitnami OSQA