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

Access control for anonymous users

My site currently has the Access Control >Node Module >Access Content for anonymous users turned OFF.

What I would like to do is to create a node that could publish content to anonymous users even with the setting in access control turned to OFF.

Any ideas on how to do this would be much appreciated.

/blogapi/rsd

Greetings
in the header section of my site I found a link that send to www.sitename/blogapi/rsd that contain the following line
rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd
My site is obviously not archipelago.phrasewise.com
Is something that are put by drupal core or a somehow bug or a module related info?
Thx

Looking for internationalization use cases and application feedback

There is an effort to bring internationalization (i18n) tools to Drupal core. But to make this happen first we need your help! We are about to introduce content translation capabilities into Drupal, and to do it best, we would like to ask for your feedback in two areas.

  1. If you have used any system which has decent internationalization support, please provide us with a link and a short overview of how that system is good in internationalization. We are looking at how well others do it to learn from them.
  2. If you have built a site with Drupal or some other system, where internationalization was a requirement, we would welcome a writeup of how did i18n fit into that system, what were the requirements and the desired workflow. We are looking for use cases to build a map of what should we think about when planning the Drupal internationalization subsystem.

If you provide some feedback, your needs and requirements might eventually get satisfied in the final implementation. If you keep your ideas yourself, we might end up with a system, which solves our problems nicely, but not yours. You can also join the internationalization working group, if you would like to be a more active contributor to the movement.

Possible User.Module Close Issue

I have found what I believe is an improper close in the user.module file.

  $form['mail'] = array('#type' => 'textfield',
    '#title' => t('E-mail address'),
    '#size' => 30,
    '#maxlength' => 64,
    '#description' => t('A password and instructions will be sent to this e-mail address, so make sure it is accurate.'),
    '#required' => TRUE,
  );

What I believe should be used is

Redirect after login

Greetings,

Is there any whay to gracefully implemented redirect after login ? Patching user.module is not a good solution.

I need to specify either my own page or user's workspace (despite whether user login through block or login page).

Is there any way to do it or any module for that ?

Form API uploading files, HELP!

I am having a bit of a problem uploading files using drupals 4.7 form API. My objective is up put the file uploaded in the 'media' field in a directory, and store a link in a database. This works fine using the drupal upload Api, unless I am using the form API.

A sample of my code is below.
##################

// Form declaration:
  $form['save_promo'] = array(
    '#type' => 'fieldset',
    '#title' => t('Edit or Create a Promotion.'),
    '#tree' => TRUE,
  );

// Field Declaration:

  $form['save_promo']['media_inline']['media_label'] = array(
    '#value' => "Media Attachment: ",
  );

  $form['save_promo']['media_inline']['media'] = array(
    '#type' => 'file',
    '#size' => 20,
    '#attributes' => array('style' => 'width:auto'),
  );

// Submit:

  $form['submit'] = array('#type' => 'submit', '#value' => t('Save'));
  $output = drupal_get_form('save_promo', $form);
  return $output;

// Uploading should look something like:
$file = file_check_upload('media');
file_save_upload('media', variable_get('file_directory_path', NULL));

Note:
The last section is just a sample, I have tried passing everything I could imagine, and have successfully been able to retreive the
filename itself with this:

$mediaAttachment = $form_values['save_promo']['media_inline']['media'];
echo $mediaAttachment returns the filename (not the tm

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core