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

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.

advanced search?

I would like to use an advanced where I can choose multiple fields to narrow down my search. I found the Trip Search module but there doesn't seem to be an available version download. Has anyone else tried to do something like this?

Navlinks Module

I've added a module to contrib that handles link management:

Navlinks Module

So far it just adds links to the navigation menu for nodes, but I'd like to have it manage all links generated by the _links() hook (although that will probably require some modification of the core).

You can add links to the Navigation menu, during link creation (an improvement on other taxo based methods)... and links can be associated to any path not already taken by another menu() call.

Static pages seperate from node module?

Is there some module I can use to point my front page to besides anything related to the node module? I would like to keep my blog private but static pages, stories, and such are related to the content which uses the node module.

I really just want to create an opening page with text without having to open my content to anonymous users.

I am previously an xoops user and used news for the journals and a module such as easyweb for a startpage.

Any suggestions?

One Module with Multiple Forms

Hi,

I'm wondering if it's possible for Drupal to utilize ONE module that displays DIFFERENT forms (depending on the URI).

Here's my implementation situation.

I want to create a "Fiction" (like a novel). A "Fiction" contains "Chapters", which are basically sub-nodes of a "Fiction" (very similar to the pages of a book). A user creates a "Fiction" that has fields such as "Genre", "Rating" (set up through taxonomy) and "Story Summary" (the node content).

When a user who owns the fiction is viewing a Fiction Node, they are permitted to add "Chapters". A "Chapter" inherits the "Genre" and "Rating" from the root Fiction node. The user is the allowed to write a "Chapter Body" (the node content).

One reason I did not use the existing book module is because the UI for the book isn't clear for my target audience. If they created a book with a genre, then it would be annoying if they had to specify the genre every time they posted a chapter.

My problem is that I want to call this customized form and can not create it. I create a link that points to "fiction/addchapter/38" (to edit fiction with node 38). I use my callback for viewing fiction (fiction_page) as follows:

if (arg(1) == "addchapter") {
	print fiction_chapter_form(arg(2));
	break;
}

The function

fiction_chapter_form

defines the logic for displaying form elements. The problem is that it does not display the standard Drupal form elements that are shown if you call something like "fiction_form" or "node_form".

Creating a "Fiction" module with "Chapters" without using a Taxonomy

I have written up a set of requirements for a "Document Submission" module at [http://yetta.net/~arcana/fiction_drupal_module/requirements.php]. It's similar to the book module, except that there's no permission for other users to edit it, I want to build a "file upload" field for it (I should add that to the book module too), and I want to auto-generate chapters.

Pages

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