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

Pulling my hair out over the ChatRoom module

Hi,

I installed this module on my testing site over here http://www.jezebeltempting.com/?q=chatrooms/chat/1 no matter what I try I can not get this thing working :( There are no errors I can find anywhere and when you hit send to write your text it just does nothing... I have tried asking for help on IRC and searching the site with no luck... If anyone has a clue please let me know over here or email me brannfenix@gmail.com

JS to automatically select TinyMCE-friendly input format (code!)

Ever gotten sick of clicking on your special Rich-Text input filter for TinyMCE when you use the editor? Ever forgotten to? Ever had a user nuke all the whitespace in a node by editing it in TinyMCE with the "filtered HTML" input format on? Well... I have! And now I've made a solution.

dojo the java toolkit and drupal

I'm interested in implementing some ajax functionality in a module I'm trying to code. Anyone have any experience or know of a tutorial to use dojo with drupal?
Thanks

Weird problem with drupal_add_js

I've got a module that I'm developing that uses a javascript import.
Everything works fine except that the drupal_add_js does not work unless I specifically print drupal_get_js.

The code that I'm using looks like this:

drupal_add_js('misc/collapse.js');

This doesn't appear to work (no script output in html) unless I do the following:

print drupal_get_js();

Everything works great after that.

Any idea what might be going on?

node_load() doesn't work when not logged in?

Hi,

I am working on a module and somewhere i need to get the path corresponding to a certain nid.
So i wrote this code:

$node = node_load(array('nid' => $nid));
$url = l($title, $node->path);

Now the weird thing: this works perfectly as long as i'm logged in as admin, but when i logout, the $url variable gets me to the base path (thus can not get the path from the node anymore). So anonymous users (about all visitors of the site) can't see this link!

Help with understanding the new node access system (Drupal 5)

Hi,

I read a lot about the new node access system at Drupal 5, but I just can't understand how it works.

I've read those about 10 times and I still can't understand it:
http://api.drupal.org/api/HEAD/group/node_access
http://api.drupal.org/api/HEAD/file/developer/examples/node_access_examp...

Please refer me to some content about it, or please explain me how it works.

Pages

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