Timeline for How can I load a block's subject and body, programmatically, for use in a module?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 26, 2015 at 19:11 | comment | added | Feature | Ah, I see what you're doing with the updated code you added...and yeah, this looks like it could work. Item [2] in the array seems a little unpredictable (not sure if this is 'real world' or not) as I'd have to be able to get usable [content] in a predictable way. I found the module_include() approach to yield the most predictable results once I understood an empty block would return no subject. Thanks for chiming in! | |
Mar 26, 2015 at 16:52 | history | edited | micahw156 | CC BY-SA 3.0 |
Added example output because I can't reply to Feature's comment.
|
Mar 24, 2015 at 22:53 | comment | added | Feature | Unfortunately no, because I need the Subject and Body separately. This will return all the markup (subject and body together) rather than allowing me to split them apart and use them as needed. | |
Mar 24, 2015 at 19:24 | review | First posts | |||
Mar 24, 2015 at 19:31 | |||||
Mar 24, 2015 at 19:22 | history | answered | micahw156 | CC BY-SA 3.0 |