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

Module callbacks?

Is it possible to define callbacks for a specific module that can be used by other modules to modify module behaviour.

Specfically, I want to add some callbacks for the project module for creating and deleting modules. I then want to hock into these callbacks in another module (project_svn) to add/delete folders in a subversion repository.

Is this possible?

TIA

Drupal says there's a MySQL error, but phpMyAdmin does not

I have the following query that works perfectly in phpMyAdmin, but Drupal reports an error at the top of the page. What's weird is the resulting recordset data actually displays correctly within the page, yet Drupal complains nevertheless. Is there a way to satisfy Drupal or suppress the error? I have wasted two hours trying to make Drupal happy and rechecking (and rechecking and rechecking) my syntax. Needless to say this is freakin' annoying.

has anyone seen this gremlin?

this gremlin likes to claim nodes, and he won't let you post any attachments to them.

he seems to thrive in environments that include filemanager/attachment modules, though i haven't tried to incubate him in a different setting.

in my case, he likes nodes 12,13,14,16, but he doesn't like nodes 11,15,18

i've studied these nodes in the DB and can't find any sort of patterns. nodes might have single or multiple attachments already (before the gremlin reared his head. they might have no common properties in the database.

hook_view too in the node preview?

Sorry for the bad english. I'm modifing video module. I've inserted a hook_view called video_view() in the code to show an image in the node. But the image is showed only in the node details, not in the preview (in the home page). How can i can show that image added at $node->body also in home page, where nodes are listed? I'm using slash theme in Drupal 4.6.2.

count attachment downloads

I am currently developing a community portal with Drupal 4.6.2 and was wondering if there was a way to count how many downloads happen with each attachment. I see that there is counting going on for all node types, but I cant seem to a way for attachments. Any help would be appreciated ;-)

Blank Page shows instead of content

Hey...

I'm hoping that someone else has gotten this problem in the past. Whenever i enter all my php and javascript code into my page to display the only thing that shows up on the page for that call back is open/closing html and body tags.

If anyone has been able to get this to happen b4 pllleeeaassseeee hheeeellllllppppp!

As a side note, i'm working with sajax code which might be part of the problem but I really don't know...
~!btopro

Pages

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