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

Taxonomy Selection an the new 4.7 Forms API

On this page: http://drupal.org/node/36899 we learn that you no longer need a statement like this...

if (function_exists('taxonomy_node_form')) {
    $output = implode('', taxonomy_node_form($node->type, $node));
  }

... to render a taxonomy selection box on your form. I've tried that out with some modules I'm converting to 4.7 and it works just fine.

hook_form_alter question: how to modify taxonomy select boxes?

I am using hook_form_alter() to modify the form to create/edit/delete a form. I wish to modify the taxonomy select boxes that appear on this form in the "Categories" section. Specifically, I want to either hide 1 or more of the select boxes or add a link next to certain select boxes.

The trouble is that none of these taxonomy form elements appears in the $form variable that is passed to mymodule_form_alter().

How can I modify the taxonomy form elements in the node form?

Thanks

Module code appears at top of admin/modules page

Using Drupal 4.7b2, I used the node_example.module template as the base of my own module. When I upload this file to the ./modules directory, and navigate to admin/modules, once the page is done loading I see the code of my module in a run-on fashion at the top of the screen.

Is this a common problem? I couldn't find anything similar listed on the forums. Perhaps it was introduced with 4.7.

Civicrm Page repeats itself [Possible bug?]

Hi,

I just installed "drupal 4.7.0 beta-2" and civicrm-drupal-php4-v1.3BETA-rev4263 on my server having php4.4.1 and mysql 4.0.25.

I setup and put all the database mysql. But when i click civicrm in menu bar, the civicrm page comes but with a repeatation. I mean the civicrm page is showing itself 2 times one below another in same page. Is it a bug or i am doing anything wrong?

regards,
--rafi

Tabbed Menus in Drupal

Hello

Could you please help me on creating tabbed menu in the drupal site.

The link below is a sample link. See the tabs under the view menu.

http://www.buyblue.org/node/721

The module is also available. It does not work for me. Since it does not have a documentation, I am not able to sort out the issue.

It would be great if you could help me to sort out this issue.

With regards,
Baburaj

filemanager module errors when adding a file but submit still works

My info:

FreeBSD myhost 4.11-RELEASE-p12-jc2 FreeBSD 4.11-RELEASE-p12-jc2 #0: Thu Oct 13 20:08:57 PDT 2005
apache-2.2.0
mysql-5.0.16
php-4.4.1
Drupal 4.6
filemanager-4.6.0

here are the permissions on the files dirs

drwxrwxrwx 5 nobody nobody 1024 Dec 10 11:45 files
drwxrwxrwx 2 nobody nobody 512 Nov 27 18:35 private

and it is creating the active and working and number directories.

When I go to add a file I get these errors:

Pages

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