This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

CivicRM new membership form missing radio buttons

Please help! I've been agonizing over this issue for a week. Any help would be greatly appreciated.

I'm runnining Drupal 4.7.3 with CivicRM 1.5 rev6706 (php4). Everything so far works perfectly save one little issue. When I create a contribution form for new/renewal memberships the section of the form that displays the membership types, shows all relevant information, but not the radio buttons in order to select a membership type.

The 12 membership types are configured and selected to be included as part of the form with one set as the default value.

Event module, still having problem

Hey all, decided to start another thread about my problems with Event Module. The major problem I'm having is that I want the calendar to display as default in the month view, with the events highlighted and in block form.

Here is what I'm TRYING to say, go to..

http://www.valleyview.dreamhosters.com/events

when you click on the month (september 2006 in this case) it expands to this view:

rcmail yields blank iframe

When I attempt to run RoundCube Webmail version 0.1-beta2 on my Drupal 4.6 installation using the rcmail module (browsing to http://www.domain.ext/rcmail), the iFrame window is blank. When I attempt to browse to http://www.domain.ext/rcmail/roundcubemail, the login screen displays with no trouble and permits login. I used the correct patch file for integrating rcmail with 0.1-beta2.

Please advise.

Many thanks,
-Adam

Customizing Menu Module?

Trying to add an extra field to menu items (an icon field). I added the icon field to menu table and if I manually update menu item in database, the menu item returns with the icon field. However, it doesn't save the icon field from the form.


function menu_form_alter($form_id, &$form) {
// ...
$form['menu']['path'] = array('#type' => 'hidden',
'#value' => $item['path'],
);
// ...
}

function menu_edit_menu_form($mid = 0) {
if (arg(3) == 'edit') {
if (!($item = db_fetch_array(db_query('SELECT * FROM {menu} WHERE mid = %d', $mid)))) {
drupal_not_found();
return;
}
}
else {
$item = array('mid' => 0, 'pid' => 0, 'path' => '', 'weight' => 0, 'type' => MENU_CUSTOM_MENU, 'icon' => '');
}
$form['title'] = array('#type' => 'textfield',
'#title' => t('Title'),
'#default_value' => $item['title'],
'#description' => t('The name of the menu.'),
'#required' => TRUE,
);
$form['mid'] = array('#type' => 'value', '#value' => $item['mid']);
$form['pid'] = array('#type' => 'value', '#value' => $item['pid']);
$form['path'] = array('#type' => 'value', '#value' => $item['path']);
$form['weight'] = array('#type' => 'value', '#value' => $item['weight']);
$form['icon'] = array('#type' => 'value', '#value' => $item['icon']);
$form['type'] = array('#type' => 'value', '#value' => $item['type']);

CNET Style Reviews?

Hey guys. I'm looking for a module that will allow me and my site users to add products to a catalog with pics and a description and then other users can wirite product reviews on the item. Similar in the fashion of Cnet.com. Anyone know of anything like that?

selecting checkboxes


 $form['area'] = array(
      '#type' => 'checkboxes',
      '#title' => 'Area',
      '#default_value' =>  '0',
      '#options' => $options_area,
      '#description' => ''
    );

This is just part of my edit page where I fetch all the information from the database and display it in the form elements. I need to be able to check certain checkboxes according to what was retrieved from the database. I cant seem to find a way to this.

I'm using drupal 4.7

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions