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

User inviting system like in GMail

Hello everybody,

Can anybody suggest something to implement a system like Gmail, where users must be invited to join the site and have a limited number of invites they can use ?
May be there is a module which can help to implement this ...

Thanks.

Strange and mysterious - please, some ideas.... help seems difficult to come by these days

I'm really stumped with this, as I posted here. I tried another test, totally cut-down version of my module. The only code it contains is this:

function testnodeapi_form_alter($form_id, &$form) {
if (!isset($GLOBALS['testnodeapi_counter'])) {
  $GLOBALS['testnodeapi_counter'] = 0;
  }
else {
  $GLOBALS['testnodeapi_counter'] = $GLOBALS['testnodeapi_counter'] + 1;
  }
//$testnodeapi_counter += 1;
drupal_set_message('The test counter is : '.$GLOBALS['testnodeapi_counter']);
}

Now I have two mysteries instead of one:
MYSTERY 1: The testnodeapi_counter never gets updated, it always appears with value zero.
MYSTERY 2: The message appears BOTH when the node form is displayed, AND in the view displayed AFTER the submit button has been pressed
I have been staring at this so long now it is possible that there is something obvious I've missed - but what.

Strange too - I've been spoilt I guess, got used to always getting quick help on these forums. But lately I've found my messages going completely unanswered. Perhaps I've not contributed enough? So I made a resolution to start the day by checking the latest posts and answering anything I could - though I often feel a bit inexpert compared with other people on the site.

But I would really appreciate help on this one - I'm completely stumped upgrading my "Checkout" m

Drupal seo mistakes

I want to start this subject, so people can know what to do to make drupal seo friendly

Drupal don't use description meta to node by default see an example on some popular drupal site

type site:www.theonion.com on google.com

Google index 186 000 from theonion.com and google robot ignore 185 000 pages and take only 1 page

Google ignore pages with same description

Solution :

Use Node (key)words module

hook_form_aaaaarrrgh-alter!! Please help before I jump out of the window in despair

I'm trying to upgrade the checkout module to 4.7 and everything going tickety-boo... I've pretty much got the stuff about hook_nodeapi and hoo_form_alter sorted... BUT!!!

In my hook_form_alter I call drupal_set_message to warn the user that his node has been checked out when he loads the form to edit the node. When I press on "Submit" the node is updated... and the message still gets displayed, just above the "page was updated" message. What is happening? Is hook_form_alter getting called twice? Has the message not been cleared, and if so how to clear it?

Here is the code:
<?php
function checkout_form_alter($form_id, &$form) {
global $user;
if (isset($form['type']) && $form['type']['#value'] .'_node_form' == $form_id) {
if (user_access('checkout documents')) {
$node = $form['#node'];
if ($node->nid) {
$data = checkout_checkout($node->nid);
if ($data->uid != $user->uid) {
checkout_message($data);
}
if (variable_get("checkout_long", 0 ) > 0) {
// _form_form code follows:
$form['checkout']['checkout'] = array(
'#type' => 'checkbox',
'#title' => t('Checkout this document on saving?'),
'#return_value' => 1,
'#weight' => -15,
'#default_value' => FALSE,
'#description' => t('If you want to check out this document and so prevent other users from modifying until you next edit it, then tick this box'),

DataTime picker for date fields

Greetings,

Does anybody can suggest any solutions to turn usual date textfields into cool javascript date picker (calendar). I would like date fields to have a button to open calendar and flexibly picj up the date ...

Is there anything for this ?

Thanks a lot.

Install problem, and cure - dev people might like to know

Hi,

I was getting problems installing Drupal.

warning: is_file(): Stat failed for /upload_tmp/.htaccess (errno=13 - Permission denied) in /mounted-storage/home20a/sub001/sc19995-IHES/www/drupal/includes/file.inc on line 115.

warning: fopen(/upload_tmp/.htaccess): failed to open stream: Permission denied in /mounted-storage/home20a/sub001/sc19995-IHES/www/drupal/includes/file.inc on line 117.

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core