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

does 4.7 forms support JS to disable/enable fields

Does anyone know if the 4.7 forms api (or antying else) supports generating the JS code to enable/disable select fields based on a radio selection?

form submission to node view self

I have a weird little Drupal-specific problem, which hopefully someone has encountered and solved before.

The view page of a custom node type contains a single drop-down form which servers as a filter for the information being displayed. The form submits to itself via post. When the view page displays for the first time everything works as expected, but on submit the default page (i.e. root of the site) is displayed instead of the node even though the URL is exactly the same.

Help with node attachment module

I'm working on my first module, which will allow the attachment of nodes to other nodes. We'll be using it to allow pulling content from the site into simplenews nodes. Anyway, I've got almost everything worked out, but I'm setting up the _form section, and I'm not sure how to code the form so there's a widget with all nodes in my "attach node" form. Can someone help me with this?

Thanks

One Flickr module to "Rule Them ALL"

Why are there 3 modules for adding Flickr Support to a site? (See: Flickr module, Flickr, flickrhood)

AFAIK, they all seem to do the same thing. Why can't these three quit duplicating their effort, and work together?

Module Themeability Suggestions

I'm writing a module that take various nodes and outputs them based on criteria such as taxonomy.

The nodes are themed according to page.tpl.php but I want the user to be able to override that at the module level so that the user can have a corresponding mymodule_page.tpl.php file supercede the page.tpl.php file when it exists. That way the user can have those nodes display normally most places on the site (page.tpl.php) but when they are listed by my module they use the alternate template file (mymodule_page.tpl.php).

Rotate a daily image directory

I'm not sure if I need a module or a custom php block, but here's what I'm looking for:

I want to rotate and display some images and feature a specific one each day.

|-------------------------------|
|                               |
| Featured Image     [A]        |
|                               |
|-------------------------------|
Discription of featured image.


|-------------------------------|
| Image              [B]        |
|-------------------------------|

|-------------------------------|
| Image              [C]        |
|-------------------------------|

|-------------------------------|
| Image              [D]        |
|-------------------------------|

So today, image [A] is the featured image. Image [B], [C] and [D] are smaller thumbnailed listed below or elsewhere. Then I want it to rotate so that image [B] is featured tomorrow (in the position [A] was in). And image [A] thumbnail is placed on the bottom of the list. Then the next day [C] moves to the top, [B] moves to the bottom of the list, and so on. I thought that maybe I could use some sort of banner rotating script, but everything I find is to rotate random, and I want to highlight an image for a full day, then rotate to the next image in the list. I also want to easily add an image to the bottom of the location when I have another image(s) to add.

I hope my qu

Pages

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