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.

CommentFileSizeAuthor
patch.diff718 bytesleewillis77

Comments

jec006’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Generic info