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

Display own content

Hi all,

I'm searching for two days now, but I wasn't able to solve the following problem. I created an own module which has his own database extension and his own form to fill out. Once filled out the form, the content is properly inserted into the database (extension). The problem I'm struggleing with, is that I can't get it back out again for displaying it on the screen :-S. I implemented the hook 'load', but that doesn't seems to be enough. Can somebody tells me which step(s) I'm missing?

Thanks in advance

Greetz Davy

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?

Pages

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