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

Simple node module - attach a required file?

Hi,
I'm trying to make a module with a specific handling of a file, so I do not want to use upload module, thanks.
I've resumed my problem in a toto module, which is below. I've tried several things, without success. I have always a "toto file field is required.".

Flexinode and Event don't work together

Hi,

When installing Flexinode - and then the Event module - the modules page (where modules are activated) doesn't show (or doesn't load completely). It's blank in Firefox and in IE6 the server is not found... Strange by the way since other pages show.

I deleted all Event module files from my ISP and could reload the modules page successfully to activate Flexinode. I also tried deleting Flexinode and upload the Event module files instead. The modules page loaded successfully again... Only not at the same time.

New module for my Image Handling Script?

Overview

I have a script that uses mod_rewrite and GD library that allows custom views of an image based specifically on the file name. I can use it already, along side Drupal, but I am trying to guage interest in getting it into a true module with some enhancements (like AJAX support). I don't know how much functionality is already available... Interested in your views.

Drupal and Music Reviews?

Greetings Everybody,

I was wondering if there is a music review module for Drupal? I can see there is a movie- and a book reviewmodule.

I'm no shark to PHP and MySQL so I'm not to keen of trying to modify the source code of any of the modules - but I'd be grateful if there is one out there who would try to do it.

Thanks a million

JonasB

Unknown problem in 4.6.5?

Hi,

I have got the following error two mornings in row now:

Fatal error: Call to undefined function: node_load() in /var/www/grimsta/modules/block.module on line 483

Might it be an exploit? Anyone that have seen this before? I am running Drupal 4.6.5.

The quickest way to cure it is to reload the database.

[BM: title changed to remove mention of security. Looks like a bug...]

Some JavaScript to post a node form AJAX

function ajax_submit(goto_url) {
  $('update-indicator').style.display = 'block';
  if (tinyMCE) {
    tinyMCE.triggerSave();
  }
  var params = new Array();
  for (i = 0; i < document.forms[1].elements.length; i++) {
    with (document.forms[1].elements[i]) {
      if (tagName == 'TEXTAREA' || tagName == 'INPUT') {
        params[name] = value;
      }
    }
  }
  params['op'] = 'Submit';
  remove = function (string, xmlhttp, goto_url) {
    if (xmlhttp.status != 200 && typeof xmlhttp.status != 'undefined') {

Pages

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