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

First Module, need help!

I'm attempting my first module (a node-type) and following the example from the handbook, I'm getting some funny results. My new module shows up OK in the admin section for enabling and it also shows up in the navigation block OK under create content.

However, there are two big problems....
1) If I click on the link to create a new node, all I get is the Create Content help page, with the header changed from the text "create content" to my module name.
2) Even though I provided it in my module, when I originally bring up the create content page, no help text appears for my new node type

Here's my menu hook

/**
 * Implementation of hook_menu().
 * In order for users to be able to add nodes of their own, we need to give
 * them a link to the node composition form here.
 */
function wishlist_menu($may_cache)  {
   $items = array();

   if($may_cache)  {
      $items[] = array('path' => 'node/add/wishlist',
                       'title' => t('wishlist'),
                       'access' => user_access('create wish list'));
   }
   return $items;
}

and the form_hook

/**
 * Implementation of hook_form().
 */
function wishlist_form(&$node)  {
   watchdog('special','in wishlist_form',NULL);
   $output = '';

   if (function_exists('taxonomy_node_form'))  {
      $output .= implode('', taxonomy_node_form('wishlist', $node));
   }
 
   //Now we define the form elements specific to our node type.
   $output .= form_textfield(t('Occasion'),'occasion',$node->occasion,60,128);
   
   return $output;
}  

I put the watchdog call in there as a debug statement....this watchdog function NEVER GETS CALLED...so I can only conclude that wishlist_form is never being called......this is obviously a huge problem, but I'm unsure as to the cause of the problem.....anyway.....
here's my hook_help

/**   
 * Implementation of hook_help().
 */   
function wishlist_help($section) {
  switch ($section) {
        case 'admin/modules#description':
           //This description is shown in the listing at admin/modules
           return t('This is just a test for custom wish lists...');
        case 'node/add#wishlist':
           //This description is shown when users click on "create content"
           return t('This creates a new wish list.');
  }
}

Any help would be GREATLY apprechiated!

Tags module

Has anyone thought about doing a tag's module like Del.icio.us, Flickr and MetaFilter.

Specifically a page like MetaFilter, as I've notice the Folksonomy module has been developed.

Drupal module development, possibilities of outsourcing?

Hi everyone-

I am looking for a developer that can help with a custom Drupal module. The developer needs to be experienced and have competitive rates. Please either respond to this topic or contact me through my profile.

Second question, what are the legalities of having a module developed and then not releasing the source code? I know that changes to the Drupal code must be published, but this module will form the core of a business and I do not want it distributed. Anyone have some insight here?

Third Post - Volunteer Module

I am working on a Volunteer Management System for our VA Medical Center in Oklahoma City. Our facility will be hosting the 2005 National Veterans Golden Age Games (http://www1.va.gov/vetevent/gag/2004/default.cfm), and we need to coordinate our volunteers and the support needs of this event.

In addition, we would like to manage our volunteers on an ongoing basis using this system. Our current system is mostly paper-based, with volunteer hours tracked in a database.

We need to be able to:

• Enroll Volunteers Online

• Manage Volunteer Personal Data

• Record Completion of Required Training (the VA requires some Privacy and other training before we allow Volunteers to provide service. This can be as simple as a checked box, only changeable by admins)

• Match Volunteers to Support Events (based on area of interest, training, or experience)

• A Calendar of Events (I envision this as a dynamic “box” on the front page of the web site, and also as Advertise Events and have Volunteers Assign Themselves. In addition, as a volunteer signs up for event “slots” the available number should decrease)

• Volunteers Can Enter Their Own Time

• Provide staffing Reports (Who will be where, and when)

• Provide Volunteer Hour Reports (Cumulative hours)

• Email Announcements/Reminders to Individuals or Groups

• Possibly a Photo Gallery and Forum

Custom module developer needed.

I am working on an idea for a site. I have the domain, and a basic drupal setup. I am looking for someone to join me in creating and running this site. I would like that person to be good at custom module development so I am asking here.

I run a few colocated boxes, so I have all the hosting we would need and I will catch on quick (I am a programmer, just not an experienced php developer, and brand new to drupal.)

image.module stuff

I want non-authenticated users to be able to browse galleries, but for some reason i always get "Access Denied" regardless of what i tell it :s

Am i dumb or is it broken?

For an example: http://www.lineageone.com
and select "Screenshots"

The idea is that the user-base can submit their favourite screenshots to the gallery for all to see... Currently it only lets authenticated users see them.

Any thoughts?

Pages

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