version for 4.7

tfejos - February 25, 2006 - 12:22
Project:Admin RSS
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Form handling seems to be not compatible with 4.7.
Could you please to make 4.7 compatible version?

#1

clbustos - June 29, 2006 - 21:01

Modify adminrss_settings

function adminrss_settings() {

//  $form['Admin RSS']=array('#type' => 'fieldset','#title' => t('AdminRSS'));
//  $form['Admin RSS']['adminrss_key']=array('#type' => 'textfield', '#title' => t('Admin RSS key'), '#default_value'=>variable_get('adminrss_key', ''), '#size' => 50, '#maxlength' => 255,'#description' => t('This is the key that will be required in order to get a RSS feed for the admin RSS.'));
$form=array();
$form['adminrss_key'] = array('#type' => 'textfield',
'#title' => t('Admin RSS Key'),
'#required' => TRUE,
'#description' =>t('This is the key that will be required in order to get a RSS feed for the admin RSS.'),
'#default_value' => variable_get('adminrss_key', ''),
'#weight' => -5);
  return $form;
}

AttachmentSize
adminrss.module 4.93 KB

#2

webgeer - June 30, 2006 - 05:10
Status:active» fixed

This poor neglected module has been updated. Thanks for the revision.

#3

Anonymous - July 14, 2006 - 05:15
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.