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

RSS Feeds

Having installed a new Drupal 4.7 site I see the minimum number of items that can be displayed in an RSS feed has been reduced from 3 to 2. I'd like to be able to display just one item. Is this a relatively easy tweak?

why drupal is not destryoing the cookies at the time of machine shutdown?

Would you please tell me why drupal is not destroying its cookies at the time of machine shutdown?

topic forward related to core development

Hello,

I have created a topic in Social Software and Communites, but its related to core-development as well, so pleas have a loo at it

checking auth or user status within custom php page

I have a page that contains a custom php form that I only want the administrator to be able to access.

is there a simple if statement i can use to make sure the admin is logged in? (ie: if($_SERVER[PHP_AUTH_USER == 'foo') { displayForm(); }

etc.

Purpose of Roles Colum in users table Drupal 4.6

I am currently migrating user data from a legacy schema into drupal.

What purpose does the roles column server in the users table? Do I have to provide a value(s) for this column when I move the data over from my legacy db? It would appear that the users_roles table stores all of the user roles information and do not need to proved a value for this column.

New user registration - add new local task menu

Hi. I want extend normal user registration with own user types. I need add under task menu item register my own task menu (with my own user types). Like this:

log in |[ register ]| request new password
---------------------------------------------------
[ user type1 ]| user type 2 | user type 3

I have tried hook_menu in my module but new local task menu doesn't appear. How to i can do this?

My current code (in my module enigma_profily):

<?php
/**
* Implementation of hook_menu().
*/
function enigma_profily_menu($may_cache) {
global $user;

$admin_access = user_access('administer users');

$items = array();

if ($may_cache) {
$items[] = array('path' => 'user/register', 'title' => t('register'),
'callback' => 'enigma_profily_user_register', 'access' => $user->uid == 0 && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK);
}
else {
// user can register as one of user type from menu
$items[] = array(
'path' => 'user/register/'.PROFILE_TYP_POUZIVATEL,
'title' => 'Nový používateľ',
'access' => true,
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => 8);
$items[] = array(
'path' => 'user/register/'.PROFILE_TYP_SPOLUPRACOVNIK,
'title' => 'Nový spolupracovník',
'access' => true,
'type' => MENU_LOCAL_TASK,
'weight' => 9);
$items[] = array(

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core