This forum is for less technical discussions about the Drupal project, not for support questions.

Clean-URLs-of-this-type

Will-be-once-in-Drupal??? ;) I-realise-google-likes-them-a-lot...

Multiple sites with single userbase

Hi,

it would be nice to have all sites in my webring to share users - something that would work like drupal multisites but would share the user table...

Doesnt anyone know whether this would be possible with some custom Drupal hack or whether there is some other free CMS out there that allows this? So far i havent seen such a feature much around, seems like one has to customise the cms...

Thx for possible answers,
Jan

Primary links: Hide "login" after user logs in?

I am using 4.7rc3. I have added "Login" (user/login) and "Register" (user/register) to my primary links. After logging in, the "Register" link disappears by default. I was wondering if there is a way to make the "Login" link do the same thing.

I looked through user.module and found this:

    // Registration and login pages.
    $items[] = array('path' => 'user/login', 'title' => t('log in'),
      'callback' => 'user_login', 'type' => MENU_DEFAULT_LOCAL_TASK);
    $items[] = array('path' => 'user/register', 'title' => t('register'),
      'callback' => 'user_register', 'access' => $user->uid == 0 && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK);
    $items[] = array('path' => 'user/password', 'title' => t('request new password'),
      'callback' => 'user_pass', 'access' => $user->uid == 0, 'type' => MENU_LOCAL_TASK);
    $items[] = array('path' => 'user/reset', 'title' => t('reset password'),
      'callback' => 'user_pass_reset', 'access' => TRUE, 'type' => MENU_CALLBACK);
    $items[] = array('path' => 'user/help', 'title' => t('help'),
      'callback' => 'user_help_page', 'type' => MENU_CALLBACK);

I tried adding: 'access' => $user-uid == 0,
as well as a few other variations to the 'user_login' line. I was able to get the "Login" link to disappear, but it always messed up the login process by directing to a "you do not h

SPAM Defense - what are you using?

Druapl 4.6.6

I was wondering what everyone is using for SPAM Defense.

By this, I refer to the SPAM Policy of my Host.

They require me to provide them with the following within 72 hours of any type of complaint:

1) Sign-up DATE
2) Sign-up TIME
3) Sign-up IP ADDRESS

This is in addition to common double opt-in procedures.

Is there a way to add id to form-item?

Is there any way to add an #id to the form-item container...

Customizing the unable to connect page?

How can I customize the "Unable to connect to database" page? I'd rather not announce the db server address and username.

Pages

Subscribe with RSS Subscribe to RSS - General discussion