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

Can't find Organic Groups forum module.

Hello,

Sorry to post this dumb topic, but I've been searching a long time. I've found all the other OG modules, but when I search for the OG_forum module, I only get the handbook and no link. Anybody know where I can download the og_forum module?

TIA.

"Warning: Call-time pass-by-reference has been deprecated " - after install project module

i got the following warning after installing the project module into 4.7.2. is it a big problem?

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer.

access control considerations for custom document repository module

I'm creating a custom document repository module that enables users to associate any number of files with a node. The files are accessed via a "documents" tab which consists of subtabs "list documents" (default) and "add documents".

The module is coming along nicely and I am now considering how to implement the access controls. The most obvious access controls are

Search module

Hello

I wrote my own module which implements hook_search. I want to know if there is any way to change the default search function which is called when i do some search on page. By default it makes a search on "content". I need to do search default by using my hook_search function.

Thanks

How the crap does Taxonomy lineage work?

I've installed the taxonomy lineage module and I'm wondering exactly how to use it. Am I supposed to use this with the views module? Where can I find some solutions on how to use this? Help?

Jay

HTTPGet trouble

Is the native drupal function HTTPGet from drupal.js supposed to work in internet explorer "out of the box". If so why did I find it nescessary to hack it with these lines:

var xmlhttp;
  if (window.XMLHttpRequest)
  {
  xmlhttp=new XMLHttpRequest()
  }
// code for IE
else if (window.ActiveXObject)
  {
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
  }

To get it to work?
I got loads of errors in ie before I added the ie specific part using the activex control as it is described here: http://www.w3schools.com/dom/dom_http.asp

But I realise that the auto search fields (like the author field in the node form) do work in internet explorer as well, so
it all cooks down to what am I doing wrong when I find myself hacking HTTPGet to get it to work?

My code calling HTTPGet:

 var formObj = frames['img_assist_main'].document.forms[0];
  var nid = formObj['edit[nid]'];
  var title = formObj['edit[title]'];
  var desc = formObj['edit[desc]'];
  
  // Insert the image
  
  var string = HTTPGet_debug('http://' + window.location.host + '/petvett.no/attach_image/attach/' + nid.value + '/' + title.value + '/' + desc.value);
  var image = myDoc.getElementById('attach_image_content');
  image.innerHTML = string;

Original unhacked HTTPGet:
<?php
/**
* Creates an HTTP GET request and sends the response to the callback function.
*
* Note that dynamic arguments in the URI should be escaped with encodeURIComponent().

Pages

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