This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Tutorial for uploading files?

Hi, I'm relatively new in developing in Drupal. My interest started a month ago, and luckily my boss gives me all the space in exploring Drupal.

Meanwhile my first module is a fact. I've written a search module witch enables an user to do a Google search on various websites, witch can be defined by the administrator.

Nice_menu for drupal 5

Hello everyone,
If you like the Nice_menu module, help us testing this patch made by subwolf.
Many thanks,
Drupalworld

SubWolf - February 6, 2007 - 22:24

I've managed to get the module script converted, and it 'works' on my V5.x dev copy.

However, all the menus are appearing, at once, guessing the CSS paths may need some modification.

Filter not working correctly? Help please...

I've tried using two modules

Rep[lacement]Tags and Smileys

Replacement Tags finds Tags in configured content and changes it with the configured text.
Smileys finds ASCII smileys in content and replaces with images.
In theory they both do almost the same thing...

I configured everything correctly, but it doesn't seem to filter the posts.
Neither on already posted content nor on new content. It just doesn't replace what should be replaced.

Anyone have any ideas of WHY that happens?

Thanks

Wowroster for Drupal 5?

Is there any interest in fixing the wowroster integration module to work in Drupal 5? I couldn't find any updates recently, and was wondering if people are using this module and would like it updated. I have a new Drupal 5 guild site, and would love to use it.

avoiding or removing 304 status headers in custom 403 (access denied) error page

I'm writing a custom handler for 403 errors, and in some cases, I want to show a fragment of the denied node content (the teaser, say) and then tell the user they need to log in and present a friendly login form.

In this case, I do not want the server to return a 403 status code, but it appears that the drupal_access_denied() function in common.inc calls drupal_set_header('HTTP/1.1 403 Forbidden') - thus setting the 403 status code before any custom 403 page is shown.

Problem with preg_replace_callback and DB_QUERY_REGEXP

Hi,

I've got a working module that was just upgraded to 4.7.6. In it, there is a search function for the module's database tables, and the search uses "SELECT example FROM tbexample WHERE field LIKE '%$param%'". The problem I'm encountering is line 264 from database.mysql.inc:

  $query = preg_replace_callback(DB_QUERY_REGEXP, '_db_query_callback', $query);

This seems to replace anything from the following (found in line 162 of database.inc):

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions