Closed (fixed)
Project:
Twitter Pull
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2012 at 12:06 UTC
Updated:
5 Jul 2012 at 21:11 UTC
When adding blocks by hooking onto hook_twitter_pull_blocks() it is impossible to hide the title by setting to FALSE, e.g. the code below will output a title based on the "name" parameter, ignoring the FALSE setting of title.
function twitter_block_twitter_pull_blocks() {
return array(
0 => (object) array(
'delta' => 'myblockid',
'tweetkey' => variable_get ("myblockusername_username", TWITTER_USERNAME),
'name' => 'MyBlock Tweet Feed',
'title' => FALSE,
'number_of_items' => 3,
));
}Patch attached that resolves this.
| Comment | File | Size | Author |
|---|---|---|---|
| patch.diff | 718 bytes | leewillis77 |
Comments
Comment #1
jec006 commentedThanks,
Committed here: http://drupalcode.org/project/twitter_pull.git/commit/1d99060
Comment #2.0
(not verified) commentedGeneric info