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

hook_delete() overriding

I've created a module which extends the core node structure and adds some extra data to represent a special type of record.

This custom type of node should never be deleted, instead, when ther delete is requested by the user it simply gets flagged as deleted.

Import dmoz into Drupal

I'm working on a script to take the dmoz RDF dump data ( http://rdf.dmoz.org/ ) and import the categories (~600K of them) into Drupal as taxonomy terms in a vocabulary.

The script can produce SQL like the following:

INSERT INTO term_data ( tid, vid, name, description ) VALUES (1, 1, "Top", "Top");
INSERT INTO term_hierarchy ( tid, parent ) VALUES (1, 0);
INSERT INTO term_data ( tid, vid, name, description ) VALUES (2, 1, "Arts", "Top/Arts");
INSERT INTO term_hierarchy ( tid, parent ) VALUES (2, 1);
INSERT INTO term_data ( tid, vid, name, description ) VALUES (38, 1, "Movies", "Top/Arts/Movies");
INSERT INTO term_hierarchy ( tid, parent ) VALUES (38, 2);
INSERT INTO term_data ( tid, vid, name, description ) VALUES (465672, 1, "Titles", "Top/Arts/Movies/Titles");
...

It's very much a work in progress, and at this point, I don't have any specific questions to ask anyone. The purpose of this post is simply to let people know what I'm doing, in case anyone is interested in the same thing, or has any suggestions or knows of any gotchas.

-Frank.

Including content in content

Hey everyone, I could have sworn I stumbled across a module yesterday that does this... but now I'm having problems locating it. I may be going crazy. I've done some searching through the forums, but I'm not real sure what terminology to search for...

Basically I have "profiles" of authors that I need to include in stories. When viewing the story, I want to have a block of content that includes content from one of those "profiles." Right now I have my "profiles" setup as stories under a different vocabulary set.

node_image 4.6?

Has anyone got this working on 4.6? It tells me that the page can't be found when I try to add an image. I've followed the install file, tred a clean install etc etc. I can only assume it (stoped at 4.4 from what I can see) doesn't work with 4.6.

Any help?

Image module on 4.6

I think I have done all the install correctly and all the configuration. When I try to upload an image I get a page not found message. It does seem to have gotten as far as creating an images subdirectory in files. What else can I try that might give more information?

Request for someone to please update the Quote module for 4.6.0

I find the Quote module - http://drupal.org/project/quote - to be one of the most useful modules for Drupal sites that are based around forums. I wish that I had the knowledge and skill in php to update it from 4.5.0 to 4.6.0 myself. I'm still learning the ropes, and my speciality is graphic design. I hope that eventually someone updates this module to work with 4.6.0.

Pages

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