View bean_tweets.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = Bean Tweets | |
description = Provides a block for a twitter user's tweets | |
core = 7.x | |
dependencies[] = bean | |
package = Bean | |
files[] = "plugins/bean/bean_tweets.tweet_block.inc" | |
configure = admin/config/system/bean_tweets |
View gist:5221384
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Bean plugin for showing tweets for a specified twitter user | |
*/ | |
/** | |
* Implements hook_bean_types_api_info(). | |
*/ | |
function bean_tweets_bean_types_api_info() { |
View gist:5222565
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Tweet block bean plugin. | |
*/ | |
/** | |
* Require the twitteroauth library | |
*/ | |
require_once(drupal_get_path('module','bean_tweets') . '/libraries/twitteroauth/twitteroauth.php'); |
View gist:5263934
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$conf['twitter_consumer_key'] = [consumer_key_here]; | |
$conf['twitter_consumer_secret'] = [consumer_secret_here]; | |
$conf['twitter_access_token'] = [access_token_here]; | |
$conf['twitter_token_secret'] = [token_secret_here]; |
View gist:5274067
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Bean admin page for setting up oAuth | |
*/ | |
/** | |
* Admin form. | |
*/ | |
function bean_tweets_admin($form, &$form_state) { |
View gist:5274083
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_uninstall(). | |
*/ | |
function bean_tweets_uninstall() { | |
variable_del('twitter_consumer_key'); | |
variable_del('twitter_consumer_secret'); | |
variable_del('twitter_access_token'); | |
variable_del('twitter_token_secret'); |
View gist:5354472
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_menu(). | |
*/ | |
function bean_tweets_menu() { | |
$items = array(); | |
$items['admin/config/system/bean_tweets'] = array( | |
'title' => t('Bean Tweets OAuth'), | |
'description' => t('Configure OAuth for Bean Tweets module'), | |
'page callback' => 'drupal_get_form', |
View tweet_block.inc-1.1api.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Tweet block bean plugin. | |
*/ | |
/** | |
* Require the twitteroauth library | |
*/ | |
require_once(drupal_get_path('module','bean_tweets') . '/libraries/twitteroauth/twitteroauth.php'); |
View tweet_block.inc-SRP.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Tweet block bean plugin. | |
*/ | |
/** | |
* Require the twitteroauth library | |
*/ | |
require_once(drupal_get_path('module','bean_tweets') . '/libraries/twitteroauth/twitteroauth.php'); |
View scss-example.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
font-size: 2em; | |
font-weight: normal; | |
&.yell { | |
text-decoration: uppercase; | |
font-weight: bold; | |
} | |
} |
OlderNewer