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

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).

Filestore 2 latest files error

I don't know how to make patches or if this is the right place to do it, so sorry if it's wrong!

In line 282 in filestore2.module, where it says 'ORDER BY f.downloads DESC', it should read 'ORDER BY n.changed DESC', like in the original filestore module. Otherwise the 'top files' and 'latest files' lists are the same...

Notification in LAN

hi forum,

i´m a new user of drupal from germany. we use the drupal in our LAN.

i added the notify module. i also updated the sql.

but... it doesn´t work :-(

so, is there anything i have to replace or edit in the module? or is there a notify module that isn´t so "hugh". a simple notification if a node was added, would be enough.

THANX FOR YOUR HELP.... and sorry for my english...

EANST

Pages

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