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

Weblink for 4.6?

It doesn't work as-is and I don't see an update. I read the page on converting 4.5 modules to 4.6, and I think I know what the problem is, considering my error.

The functions node_access_join_sql() and node_access_where_sql() should not be used any more but the SELECT-queries should be wrapped in a db_rewrite_sql() call.

Well, this module is using node_access_join_sql(). Problem is, I'm a PHP n00b, and don't know how to make the change. Has anyone else done this?

Node without SQL connection

Any prefered way to create/manage a node without connection to SQL. We'd like to use the node model but have links go external (or perhaps via another module for rendering) and not expect them to be in the local system-- in our case they are not. We can manage in the module the links but the theme rendering will add a bogus link (in for example the headline).

Comments with images attached?

Has anyone messed with this? I noticed this post: http://drupal.org/node/12289, but can only assume nobody has touched it since then. I'm guessing that it'd have to be either just patched onto the comment system or a module would have to be added that facilitated handling of attachments that weren't nodes. Because you can only attach stuff to nodes, which is faily limiting (of course...

Spellchecker on Drupal 4.6

I did some searching and failed to find any news on a spell checker module that's compatible with Drupal 4.6 It appears that the previous maintainer, mathias, is no longer working on it. Is anyone else planning on updating this module? I found Spellchecker to be highly useful, and would try to update it myself if I had the skills to do so.

Custom node module, stopping hook_view tags getting stripped

I'm trying to create a module for a custom node type. I'm trying to enter in my_module_view something like:

$node->body .= "<div>something elstra</div>";
 $node = node_prepare($node, $teaser);

... but the

tags get stripped away for some reason (so do most other tags too). How do I stop this? Its not a solution to change the filter/input format as I need the user to be able to select which one they want when submitting nodes. I'm using phptemplate for theming.

Jake.

problem with local tabs

Hi all,

I'm trying to create a module and I'd like to have a tab on the top of the page I'm displaying.
I've added this snippet of code below to my association_menu(), but even if the code get executed
(I've added a print "hello!!!" just before the $item[] = ...) the tab doesn't appear.

association_add is just a simple page that ends with theme('page', $content);

Pages

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