D7: bootstrap default menu in sub theme

Hello friends,

I installed Drupal 7 with bootstrap theme. Bootstrap theme has a responsive menu with good features. How can i have same default bootstrap menu in my bootstrap sub theme?

Add member to group using code

$node = node_load($nid);
$ogId = $node->og_group_ref['und'][0]['target_id'];
og_group('node', $ogId, array('entity' => $user->uid));

Publish html content received from PHP call in Drupal 7

I want to capture the content from an online service using PHP codecode the response will be html. This content should be later rendered as a Drupal webpage.

I am just a test user of Drupal without core knowledge. I need help to create a code that can be deployed to Drupal which does the mentioned thing. I have already got a php code that captures data from the source. But I don't know how to deploy that using Drupal 7. Please give step by step instructions and help me. This is for a client engagement.

Edit site-wide contact form

How do I edit the content sent through the core site-wide contact form? I’m talking about the body of the email I (as the administrator) receive when someone sends a message through the contact form. 

The default content says "username <link to user> sent a message using the contact form at <link to website>". And then it includes the actual body of the sender's message. 

I know where to edit all the other administrative emails, like welcome new user, password recovery, etc, but the basic contact form is not there. 

List of contributed modules and minimum PHP version requirements

Our current Drupal 7.x installation is running on PHP 5.3 and is a multi site installation with around 260 databases. As I was updating modules preparing to update core, I noticed that a few modules (backup_migrate for example) requires at least PHP 5.4. I am looking to get a list of all contributed modules on my site as well as what the minimum version of PHP is required for each one.

Drupal DB tables exposed

Deleted

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x