See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

refresh edit page with filter

Hi,

I am creating a program to store some student statistics. I have the following entities: Student, Teacher, Series, Measure. A serie has a relation with N teachers and a relation with N students. Every teacher has to enter some data for each student in the serie.

need help to know how to integrate new table with the drupal...?

hi,

i've created a module (following the guide in http://drupal.org/node/40684).
i'll get many inputs(like around 15-inputs) from the user. i've also created a new table to hold
those data. somehow i managed to store those data to the new table. now i need to fetch those data and show a preview.. as well as display in the site front-end in a my own desired format. how can i do so?
can anybody help me in this regard....??

thanx & regards,
Charles.

forum.module reply chain

I've been using 4.6.5 for over a year, after converting my userbase from a phpBB/drupal pair to drupal's forums, and they've take the converstion pretty well and they've been pleased with what we've been able to do as a result of the integration. I can't wait to roll 4.7 out for the site-- the forms API is so clean and pretty and things just work a lot more intuitively.

Missing style in user edit

I trying to make a patch that would add the the style "profile" that is missing in user - edit. I started look in user.module, but I couldn't discover how to do it there. Some Drupal guru can help me out? The same style appears in user - view and i.m.h.o. it be consequently appearing in user - edit and in user - contact (both belonging to core Drupal, isn't it?)

hook_user problem / perhaps bug in 4.7-beta3

Hi

I didn't really want to post to the core forum but I am 99% sure that Drupal isn't doing what its supposed to. I modified block_example by
removing all the comments and adding a call to _user. I tried to add something to $user so I can use it later. The wording in the API leads me to believe this is possible. I try to display the thing I add in the block but it doesn't show up. All the code is here:

<?php
function block_example_help($section) {
switch ($section) {
case 'admin/modules#description':
// This description is shown in the listing at admin/modules.
return t('An example module showing how to define a block.');
}
}

function block_example_block($op = 'list', $delta = 0, $edit = array()) {
switch ($op) {
case 'list':
$blocks[0]['info'] = t('Example: configurable text string');
$blocks[1]['info'] = t('Example: empty block');
return $blocks;
case 'configure':
$form = array();
if ($delta == 0) {
$form['block_example_string'] = array(
'#type' => 'textfield',
'#title' => t('Block contents'),
'#size' => 60,
'#description' => t('This string will appear in the example block.'),
'#default_value' =>
variable_get('block_example_string', t('Some example content.')),
);
}
return $form;
case 'save':
if ($delta == 0) {
variable_set('block_example_string', $edit['block_example_string']);
}
return;
case 'view': default:
switch ($delta) {
case 0:
$block['subject'] = t('Title of block #1');
$block['content'] = block_example_contents(1);
break;
case 1:
$block['subject'] = t('Title of block #2');
$block['content'] = block_example_contents(2);
break;
}
return $block;
}
}
function block_example_contents($which_block) {
global $user;
if ($which_block == 1) {
$output = variable_get('block_example_string', t('A default value.'));
$output .="

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core