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

Txonomy form dropdown

In my module settings how do i create a dropdown that selects a different taxonomy vocab?

Thanks

Check boxes

Hi i'm a complete noobie when it comes to module development.
I was wondering how do I make the form_checkbox function output the value of the ceckboxes to the body of the node?
thanks :)

Filestore upload problem

I can't find this problem in the forum or bugs so here it is.

My temp directory path is specified as:
files/temp/ and both are CHMOD 777

My Drupal db tables use a prefix drupal_

I get this warning:

Rate this story module

Does anyone have any interest in doing a "rate this story" module that would allow a simple 1-10 rating at the bottom of stories and would show the average?

Or does anyone know of an easy way to write up such a module?

I don't know php otherwise I would do it myself. But I'd be happy to get a book and try and hash it out with someone if anyone else is interested.

How to create new modules?

I would like to write a few custom modules to extend Drupal so that I may use it for a weekly newspaper. If you're familiar with writing modules, I have some questions below and I would appreciate your expertise. I've also listed a few of the resources that I've stumbled upon incase there are others like me trying to figure modules out.


Thanks - Strayhand


Questions:

  1. How many different types of modules are there, and what are the differences?

    In the
    "Creating Modules Guide" the author walks you through the creation of a block module, however they also mention node modules. What are the differences between node and block modules, and do other types of modules exist?


  2. How do you create a node module?

    There is a brief document titled "Writing a node module", however I was unsuccessful in using this tutorial to create a node module. Is there another node tutorial that goes into the same detail as the block tutorial? Has anyone else successfully used this tutorial to create a node module in Drupal 4.4?


  3. How do you create administrative pages for modules?

    The block module tutorial (Creating Modules Guide) produces an administrative page, what are the specific hooks/functions responsible for this?



  4. Do I need to create new database tables for my modules?

    If so, what's the best process?


  5. Are these the only hooks that I need to concern myself with?


Definitions that I've assembled

Flexinode extensions and feedback

Have been playing with flexinode - great stuff, seems like it should be in core. I've made a few modifications to my version but not sure whether there is a good way to 'contribute' them (subject to review, since I am a PHP and drupal novice, more a perl/[j]python person).

My changes are mainly to support 'assisted' content submission, where you've got an external
content source application that pops up partially filled in flexinode node creation
pages, including file uploads. Also support for referring to flexinode nodes and fields by name rather than ID in URLs/themes (ie. MyNewType instead of flexinode-1, SomeNewField instead of flexinode_3).

Pages

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