Closed (fixed)
Project:
Feedback Simple
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Mar 2012 at 16:24 UTC
Updated:
13 Apr 2012 at 15:21 UTC
Jump to comment: Most recent file
Recommendation:
Add to info file:
stylesheets[all][] = "feedback_simple.css"
Remove from hook_init()
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | feedback_simple-7.x-1.x-1508480-2.patch | 837 bytes | seandunaway |
| #1 | feedback_simple-7.x-1.x-1508480-1.patch | 837 bytes | seandunaway |
Comments
Comment #1
seandunaway commentedWhoops, you're right! I guess I missed this in the port from d6. I applied it with #attached on the render array instead. Please let me know if this works for you. :)
Comment #2
seandunaway commentedIt was a mistake to change to footer from page_bottom region. Also it makes sense to use build versus alter. Updated patch attached.
Comment #3
mstef commentedThat works too -- good call.
Nice job on the module.
Comment #4
seandunaway commentedThanks!
commit d5293eb36feb04e74993d5ab06d1e82d175c3f9d
Author: rump
Date: Thu Mar 29 22:09:41 2012 -0700
Issue #1508480 by rump, mikestefff: Declare css file with #attached rather than hook_init. Thanks mikestefff!
feedback_simple.module | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)