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

How to maintenance 2 module version?

Currently I have 2 folder on my local PC: blogger/5 and blogger/4 which contain blogger.module for Drupal 5 and 4.
I also create 2 branch using SmartCVS: DRUPaL-4-7 and DRUPAL-5, now how do I associate:
- DRUPAL-4-7 to c:\blogger\4
- DRUPAL-5 to c:\blogger\5

Why so difficult to maintenance Drupal module?

As third party Drupal module developer I found that managing Drupal module very difficult. Even I already use Smart CVS, I can not find an easy way to UPLOAD my revised module.

I suggest Drupal team to provide us a web based module repository. So I can:
- Login to the repository
- Create my own revision number and there is a dropdown box that listed all Drupal version for compability

The one on sourceforge.net is a good example.

Taxonmy ebay style

On my site i have many categories. I wish i could have an ebay style feature for selecting categories. Take a look on how ebay does it. How would this be done? I am thinking some type of Ajax integration.

Image:
http://pics.ebaystatic.com/aw/pics/tutorials/manageStoreCat/scr4SCStep2_...

Source:
http://pages.ebay.com/stores/customcategories/tutorial/2.html

Forms API: "#disabled" attribute does not disable form elements

I am trying to make a textareas and textfields disabled and grayed out so that they cannot be edited by the end user. I am attempting to use the "#disabled" attribute as mentioned at:

http://api.drupal.org/api/HEAD/file/developer/topics/forms_api_reference...

The code snippets I am attempting to use are:

  $form['basics']['show_funding'] = array
  (
    '#type' => 'textfield', 
    '#title' => t( "Funding" ), 
    '#required' => TRUE, 
    '#default_value' => $customParts['show_funding'],
    '#weight' => -3,
    '#disabled' => TRUE,
    '#description' => t( "How much money are you asking for?" )
  );
    $form['textArea'][ $fieldName ] = array
    (
      '#type' => 'textarea',
      '#rows' => 5,
      '#title' => $fieldTitle,
      '#required' => FALSE,
      '#default_value' => $blurb['body'],
      '#weight' => $blurb['weight'],
      '#disabled' => TRUE
    );

I have tried to insert 1, TRUE, and "disabled" into the "#disabled" attribute, all to no avail. I have scoured the documentation and Drupal support forums and found no mention of this issue. I am running Drupal 4.7.4 Any help is appreciated.

~ Alicia K

A small enhancement to the nodequeue module

I have developed a small enhancement to the nodequeue module which allows you to rotate a queue by moving the last element to the first. Please comment on it.

Automated creation of a group on account creation

Hi guys,

I'm a php programmer by trade and have built a few drupal-based sites in the past. Now I'm looking into drupal modules in more depth.

What I need to do is create an organic group when a new 'client' user account is created. This group will eventually have other users of role 'employee' assigned to them, although this will be done manually by the administrator. The roles stuff I can work out, it's the creation of the organic group where I am having difficulty.

Pages

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