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.
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?
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).
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.