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
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 24, 2015 at 16:36 | history | edited | Vishal Patil | CC BY-SA 3.0 |
added 6 characters in body
|
Mar 24, 2015 at 14:22 | comment | added | Feature | I just tested this and it has the same problem as mentioned in the original question: the use of module_invoke doesn't actually give us the block's 'subject' and $row->title in the database only gives us a subject if the user has overridden the default subject and entered in a custom one on the blocks page...in the code above, $arr[$key]['subject'] is always empty (unless there's a custom overridden subject, which I can't count on) | |
Mar 24, 2015 at 14:08 | history | answered | Vishal Patil | CC BY-SA 3.0 |