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

how to update simultneously users tables of different instances of drupal with different databases.

Hi all

I don't know, waither this question is vailed in this category or not ...

my problem is .. i have to update my user tables of two instance of drupal with two databases.. i have seen the db_set_active but how to find the register form data ...or can any one suggest some different solution.

thanks

Restrict content type updates (e.g. text versus images)

Is it possible to restrict a user to textual updates and not allow them to update images

Extending the search form at admin/content/node

I want to extend the search form at admin/content/node by adding an additional popup-menu to select a workflow state. It seems to me that I have to alter the form node_filter_form(). Is this correct?

The function node_filter_form() calls node_filters() so it looks as if I had to add my filter in the latter function. How would I do this?

Is there an example somewhere that illustrates how the search form can be extended?

Many thanks,
Kaspar

Patch for file uploading

I've written a patch to change the way that Drupal handles file uploads. Presently, when a user uploads a file such as win32-binary.zip and that file already exists in the files directory, Drupal will automatically rename the file to win32-binary_0.zip. This is ugly, and violates Drupal's idea of clean URLs, as it changes the file name from a good default (win32-binary.zip) to a poor one (win32-binary_0.zip). In addition, it flat-out breaks tar.gz files: source.tar.gz will be renamed to source.tar_0.gz, which many archivers will not open correctly.

The patch I have attached here will change the way Drupal renames files. Instead of putting uploaded files into files/win32-binary.zip (for example), it will instead place them into files/0/win32-binary.zip. If this file exists, it will be placed in files/1/win32-binary.zip instead, and so on, counting upwards until a directory is found suitable.

Applying this patch will not affect current download links on your site, but newly attached files will use the newer path format.

Patch available at .
diff -ur drupal-5.1-base/includes/file.inc drupal-5.1/includes/file.inc
--- drupal-5.1-base/includes/file.inc 2007-01-05 00:32:22.000000000 -0500
+++ drupal-5.1/includes/file.inc 2007-06-03 17:53:43.908113168 -0400
@@ -341,7 +341,20 @@

What is different between node and page??

Hi all,

I have a question about drupal. I am kinda new to drupal. So please help me with this:
What is the different between page and node?? In the function __phptemplate_variables(), i see
switch ($hook) {
case 'page': break;
case 'node': break;
}

I am wondering what is the diff between this 2. Thanks.

Drupal core Search

Hi Drupallers,

i´m implementing a website with Drupal for the biggest german photographers asosiation. At the moment we are nearly finished but we found a strange problem. In the Drupal description we found that the core search is doing this: Searching - All content in Drupal is fully indexed and searchable at all times., but we have some test artikels with around 8000 words and in the end we have the author name. In the search we can´t find it even after two days cronjobs and indexing.

So what could be the problem? Any ideas!

Dirk

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core