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

Need help with two forms in one module

Okay, I've dug myself deep into a hole and need some guidance to get myself out.

I'm still developing a module that is similar to the "Book" module, but has a different organization of its nodes. The module is called "Fiction". It's for people submitting chapters to a fictional story that they've written. The book module is not sufficient because it lacks inherent numbering (weights don't serve as a good substitute for a 60+ chapter story) and it permits other people to submit modifications to the story (which should not be allowed). In addition, there are some user interface elements that I want changed.

1) A user creates a "Fiction" type of node, which contains a summary of the fiction. The fiction form has a title, a summary, and taxonomy organization. The data is stored in a node.
2) Users add "chapters" to this fiction, which are similar to book pages. They also have titles, and a body, containing a chapter (of a novel, let's say). They are also stored in a typical node. However, they can not be promoted to the front page (any votes for the chapter promote the "Fiction" top-level node instead). The "chapter" also does not store taxonomy information and is not listed individually. Users may not add chapters beneath other chapters. In addition, only the author gets to add or edit fiction chapters.

There is also a database called "fiction" to list the chapter for each fiction (for an explicit ordering) and the "parent" fiction node.

How to use FORM_MAIL.module

I want to display a "contact us" form using the form_mail.module. can someone please post a content sameple that could be inserted as a PHP static page?

Pretty please with sugar on top?

Thank you,

Sadian

Customize fields in Story module and/or

Is it possible to have subtitles, leads and other separated pieces of text in a story? I mean as separated form fields.

It would be useful to have the ability of creating new customized fields in the very official Story module. This would help a lot the diversity of Drupal sites, creating own node structures and styles for all these pieces. It would also be an open door to do more segmented searches i.e. "Barcelona" only in the location field or "strawberry" in the image footer.

new module - pam authorization

I wrote pam module for authorization. Please check it:
http://ui.upce.cz/~mirek/pam.module
This module is tested on version 4.1.0
If you have comment, send patch :) to miroslav@suchy.cz

New file API module

I just finished the first version of my new img module.

http://cvs.drupal.org/viewcvs/contributions/sandbox/skip/img/

It uses the file API to easily add images to any node type... no separate 'create image node' -> 'create blog node' -> 'write IMG tag linking to image node'... just stick a [IMAGE] tag in the blog post as you're writing, attach a image file , and hit submit.

Still a lot more to do, but I thought I'd see what y'all thought.

I now have a working file upload/download module!

How can I contribute my file upload/download module? It's a direct ripoff of the filestore module except it uses the file API and actually works with Drupal CVS.

Pages

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