7

The tags are stored by key, so using a different key for each should do the trick: $delta = 0; foreach ($images as $image) { $element = array( '#tag' => 'meta', '#attributes' => array( "property" => "og:image", "content" => $image, ), ); drupal_add_html_head($element,'...


5

The proper way to import an RSS feed and have its data displayed in a view is by creating nodes from the feed data. This is what the Feeds module accomplishes. You will need to define two content types: one to be used by the feed importer (ex. "Facebook Feed Importer") and one for the feed items themselves (ex. "Facebook Feed Item"). In the feeds importer: ...


5

Do module load include of twitter.inc in which above function was defined.. .module files are automatically included, but .inc are not. So you need to include them using above function... module_load_include('inc', 'twitter', 'twitter'); dpm(module_load_all()); // returns 1 dpm(module_exists('twitter')); // returns 1 dpm(twitter_account_load('@twitter'));


5

Go to content type's manage display section and select Teaser tab on top right. There you can change the display settings of the teaser.


4

You are looking for Entity External Rating module. Check the site using this module. This module can be used to implement a rating system based on external sources. What that means is that the actual rating, voting or whatever action, happens on an external application (for example on Facebook), and the results are fetched into your system. By ...


4

Approach 1: Menu Badges Use the Menu Badges module to add such notifications to any menu item and/or menu tab of your choice. Here are some details about it (from its project page): Provides a method for adding iOS-style badges to menu items. (see screenshot) Adding Badges to Menus Once enabled, go to Administration > Structure > Menus, and click &...


4

We had the same exact issue using the above configuration. It turned out that I had a rule enabled to redirect the user to a page upon login. When I disabled the above rule everything went back to normal Probably a conflict between modules. Thanks, Leonidas


4

This module implements networks by harcoding in the module's code. Because it is not much clean way how to implement modules for this use-case and this module is not widely used, I recommend you to use somethink different. If you dont't want to include third party scripts to your site (they can spy your users and slows down page) you can use this module: ...


3

You can use Views Auto-Refresh module.. Project page says A module to refresh a view after a specified time interval. Includes advanced options to avoid reloading the whole view, and to avoid causing a full Drupal bootstrap at each refresh. Suitable for usage on liveblogs, activity streams, comment lists, and any other view where new items are ...


3

The LinkedIn Integration module won't automatically create a new user account for you. From step 5 of the directions in the module's README: Usage : Users will have to associate their LinkedIn account with their local Drupal account (at user/%user/edit/linkedin) to use any functionality provided by submodules. So if you log in via LinkedIn with a ...


3

From Comments: If you want to do a popup for first time visitors, try the Popup announcements or Popup on load modules.


3

The code you have there is returning friend's names which could be problematic if any of the user's friends have the same name (names like John Smith and Mohammed Abdul spring to mind). You should change your friend import function to get the facebook user id like this: function mymodule_fboauth_action_friend_import($app_id, $access_token) { $result = ...


3

You have a two part question here. One, the best way to deal with OG info on your site is with the Metatag module: The Metatag module allows you to automatically provide structured metadata, aka "meta tags", about a website. In the context of search engine optimization, when people refer to meta tags they are usually referring to the meta ...


3

Create custom tpl.php file of user registration Comment the $tabs section or $content Render facebook login form using form id and render it. Another method is that use penals create a new page and add facebook login block in that page,Set page path on user login


3

Finally found the answer. In admin/config/services/fbpermissions need to give Publish pages permission for users.


2

JSON parser did the trick with a feeds importer properly mapped. Once I figured out how to get the data from Facebook, it was really just a matter of configuring the importer properly with the right expressions. I was pleasantly surprised to find that I could get the data without any token because the data comes from a public page, rather than a private ...


2

As of now, you can use the Facebook Comment Moderation tool available here: Facebook Comment MOderation tool, you will need to create a Facebook App by creating a new App from this page at Facebook: Facebook Developers. Make sure that you add the "App Domains" under Basic Info and Site URL under "Website with Facebook Login" so that you can use the tool ...


2

In the answer above, there are modules indicated. However, in my experience, they won't work with fivestar, for they are only generic. So, what I usually do in such cases, is to: Create a template for that node type, like node--type.tpl.php Create a preprocess function in your theme's template.php file, implementing hook_preprocess_HOOK(). This will ...


2

The various comment widgets Facebook provides are really just premade wrappers FB has created to keep a certain look and feel across the www. If you want to create your own, you can certainly do so. Broad documentation can be found on their Developer Site with key documentation about creating comments here: https://developers.facebook.com/docs/reference/...


2

It's looking for the file in sites/all/libraries/facebook-php-sdk/src/facebook.php, while your file exists in publichtml/sites/all/libraries/facebook-php-sdk-master/src/facebook.php and www/sites/all/libraries/facebook-php-sdk-master/src/facebook.php. The difference is between facebook-php-sdk and facebook-php-sdk-master. Change the folder name from ...


2

You are looking for hook_node_insert() This is from API page: Respond to creation of a new node. This hook is invoked from node_save() after the database query that will insert the node into the node table is scheduled for execution, after the type-specific hook_insert() is invoked, and after field_attach_insert() is called. function ...


2

Hope this will help you, You can achieve this with two module views and facebook after enabling both module go to the structure tab of drupal,click on this put Fcaebook application Id here: You can create application id from this link on reference to ur facebook account. Than inside Facebook social go to "Presets" click on add fill up this form for like ...


2

Got something closely related to your case and I won't say this is not possible, you can have some workaround by following these threads: Login to Drupal using LinkedIn This feature is not available right now, to login into Linkedin while using its credential on your site. But it seems that, this thread is in knowledge of Linkedin Officials as well and ...


2

You should update the HybridAuth library to the latest version


2

Thanks everyone. What I was able to do was build a Rule with Form Events that sets the 'Post to Facebook' checkbox (and one for Twitter) if the current page URL matches the node edit URL. This way only the creation of a node, and not subsequent edits, are posted to FB... I was initially going to do a hook_form_alter, but once the initial Rules test worked ...


2

The twitter module allows you to get the tweets from various accounts and display them via views. So you can have a view for your first 3 users and then another one for the other two and so on... Now, you will have to provide an authenticated account via the twitter apps api. But then you'll be able to pull tweets from other non authenticated accounts.


2

Rules has a specific "React on event" under system -> "cron maintenance tasks performed". If your using the rules modules, that will trigger your rule on every cron run. Also, if your building a custom module, and you need to call a function on every cron run, you can use hook_cron to add a function to the cron tasks as well.


2

You are looking for oembed, there is a Drupal module for it as well, that offers integration to media and some other modules. This module will allow your Drupal site to embed content from oEmbed-providers as well as for the site to become an oEmbed-provider itself so that other oEmbed-enabled websites can easily embed your content. This won't give ...


2

I'd say there's 2 ways to go about this. One is to disable those tabs at the Drupal level. This can be done via hook_menu_alter() or for a solution that doesn't need custom code, use the Tab Tamer module. Tab Tamer is an administration utility that provides easy re-ordering, hiding, and deactivation of tabs and subtabs. You can also rename tab ...


Only top voted, non community-wiki answers of a minimum length are eligible