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

Drupal Node for evry CIVICRM Contact

Hello,

I would like to developp a link between Drupal and CiviCRM. Each time there
is a civiCRM contact created/updated, i would like to create/update a drupal
node. I am a bit new with civiCRM and Drupal, but i want to challenge this.
Please any help how to implement this. Which module, file or function should
i consider to look at first ? Any idea of a plan ?

Thank you for your shared ideas.

Nicolas

How to use pager_query with an array parameter ?

Hello,

I made a block which is an form with 2 fields. When i submit this block form, i expect to list the results of the query in a paged table. But it fails on the second pasge, because the url variable is an array. How to solve that with Drupal ? Help is very much welcome. Thank's in adavnce .

Here is an simplification of my code.

function af_block($op='search', $delta=0) {
$form = form_textfield(t('City'), 'city, '', 15, 100);
$form .= form_textfield(t('PostCode'), 'cp', '', 5, 5);
$form .= form_submit(t('Search'));
$content .= form($form, 'post', url('af/search'));
$block["content"] = $content;
return $block;
}

function af_menu($may_cache) {
$items = array();
$items[] = array('path' => 'af/search',
'title' => t('Recherche Fleuristes'),
'access' => 'access content',
'callback' => 'af_list',
'type' => MENU_CALLBACK);
return $items;
}

function af_list() {
$edit = $_POST['edit']; // $edit is = NULL in the second page
$header = array(array('data' => t('Name'), 'field' => 'organization_name'),
array('data' => t('Adress'), 'field' => 'street_address'),
array('data' => t('City'), 'field' => 'city'));

$params = array("postal_code" => $edit['cp']);

// Simplification with only on query

Dadabik into Drupal?

Hello there,

is it possible to somehow insert Dadabik into Drupal?

I have a large (1,000 and growing) dadabik-searchable pair of My SQL tables, and I need them to be operable within the framework of a Drupal page. I suppose I could just have a link to the Dadabik tables - but I need the password-protection infrastructure of the Drupal website.

What should I do? Can information about this be found in the manual somewhere?

Thank you!
terri

Add image button - with TinyMCE simple theme.

I have been using the new img_assist module that is at the moment in beta. It is working great for my present purposes. I would like to use it with the TinyMCE editor - but at the moment the 'drupalimage' plugin only makes the 'add image' button available with the TinyMCE advanced theme.

Our users do not need the advaced theme so we would like to enable it on the simple theme. I have tried hacking the the plugin - but with no joy.

Has anyone else managed to do this or got any suggestions about approaching this problem.

Issue with Securesite module

Ok, I have securesite installed and it works extremely well. I am much more comfortable about the security of the site now.

When I login, I get the drupal login screen and I am able to login. Perfect. However, when i logout, I get the normal windows htaccess popup asking for a username and password. I have to hit cancel, then reload the site to login again.

It appears as though securesite releases the access before drupal has finished completing the logout. Is there a workaround for this? Does anyone else have a creative way around this?

TIA

Norm

privatemsgs

users can't see inbox(0) in their menu. only admin can see it.

Pages

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