Receive drupal update notice via email

is there a way to set up drupal that I receive a notice via email whenever there is a new drupal core/module update?
thanks!

Readind Data from MS SQL and displying it in a node

Hi,
I am rebuilding a intranet site to the Drupal 7 framework (which is awsome I might add).
One of the pages returns all the purchase orders from our ERP system for a selected site.
This code is not complete, but it brings back the correct values when ran on a php page. I cannot use this code in the body of a node because of the POST element in the form submit.
What other ways are there to return the values to a node.
If I am not clear, please let me know and i will rephrase.

<?php

include 'includes/x3dbconnect.php';

if(isset($_POST['Site'])) $name = stripslashes($_POST['Site']);

$query = "SELECT FCY_0 FROM DEMOPRM.FACILITY";

$result = mssql_query($query);

echo "
";

echo "
";

//display the results
while($row = mssql_fetch_array($result))
{
echo "" . $row["FCY_0"] ."";

}
echo "
";
echo "

";

echo "Selected Site is " . $name;
$query = "SELECT POHNUM_0, POHFCY_0 FROM DEMOPRM.PORDER WHERE POHFCY_0 like '$name'";

//execute the SQL query and return records
$result = mssql_query($query);

$numRows = mssql_num_rows($result);
echo "
" . $numRows . " Orders" . ($numRows == 1 ? "" : "s") . " Returned

";

//display the results

Core Forums Organization (stuck w/ old to new)

I was just noticing that for some reason the oldest content is first with the newest shown last on my site running d7 dev. I went to the settings and tried to change it, but no matter what I select in the settings, it always has the oldest content first. See here:

http://www.dealdaddy.com/forum/hot-deals

Complete Drupal Novice Looking for Startup Help

Hello Forum,

As you may have guessed, I am a total beginner with regards to Drupal (and any form of web design for that matter). I am looking just to create a basic Drupal site to get started with.

Other than Drupal/web design, I'm highly computer literate. What I am really after is someone kind enough to walk me through all the ropes of getting a site up and running from the very start. I have tried doing tutorials etc but many people are using different configurations and there are often subtle questions to which a tutorial may not answer.

How to integrate the built-in file field to a custom form in Drupal 7?

Hi there,

I want to integrate the built-in file field (managed_field) to my custom form in Drupal 7. The file field should have exactly same functionalities as it works in a node form (be able to upload multiple files and re-order weights by drag-and-drop table).

I am looking for a similar way to do what following code does in Drupal 6 with CCK:

<?php
function my_module_test_form($form, &$form_state) {   
  module_load_include('inc', 'content', 'includes/content.node_form');   
 
  // Definition of the CCK fields array that we want to use in our custom form   
  $fields = array('field_myfile');   
  
  foreach ($fields as $name) {   
    // Calling the CCK API function to create the field   
    $field = content_fields($name);   
  
    // Put element information into hidden non-displaying form container   
    $form['#field_info'][$name] = $field;   
  
    // Render the element, then add the rendered element to the form.   
    $form += (array) content_field_form($form, $form_state, $field);   
  
  }   
  
  // You can set weight for the paticular element   
  $form['field_myfile']['#weight'] = 1;   
  
  $form['submit'] = array(   
    '#type' => 'submit',   
    '#value' => 'Send',   
    '#weight' => 2,   
  );   
  
  return $form;   
}   
?>

Hook_form_alter issue

Hi,

I am working on complex web system and I need to alter node form. The problem is, that autocomplete textfield defined in hook_form_alter is not working :(

Here is my code:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x