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

Images in custom modules

I'm writing a module to manage a large amount of encyclopedia data... and I reached the point where I was trying to set the image setup. I couldn't figure it out for the life of me. I set a form_file() in the node_form() hook... but for some reason i'm not fully getting it i think. can someone lead me in the right direction? i think my problem exists in my _insert() and _replace() hooks, but i'm not sure.

Taxonomy of current node

I would like to define a block with content depending on the taxonomy of the current node (basically I have defined a taxonomy of travel places used in my blog and want to add a block to the sidebar with a map of that country). I think that I can figure out how to display the block (using a .module file) etc, but I'm having difficulty in finding out what the taxonomy of the current node is. This almost seems an FAQ, but I cannot quite find the answer I'm looking for in the forums.

Is it possible to use HTML tables in Drupal forms?

I'm developing a module called Discussion Polls. You can see an example of this module at:

http://progressivereader.org/?q=node/75

I'm using HTML tables as part of the Drupal form, but obviously the lines aren't the same style as the rest of the Drupal Theme.

This might be a RTFM situation, but is there a way to get the table to use the Drupal theme line style? Or should I fall back to using HTML div blocks and adding those to the Drupal theme?

Theme Editor Module -- Enabling the Modified Themes

I'm having difficulty with this problem using the theme editor module. I create a new theme based off an old one, but it does not show up in the list of themes to potentially enable. Does anyone have any ideas how to make the modified theme appear so I can enable it.

Any help would be appreciated.

I'm really struggling here...

So far I've written a few modules for my own purposes by the simple expedient of hacking what other people have done (one day I'll write a book called "Plagiarism as a force for progress"!). Now I'm trying to do something starting from scratch, and boy is it not that obvious!!

I have successfully got a little baby module to display a form to a page, like this

Question about auto permissions for Drupal/files/image folder

I am wondering why Drupal is creating folders (temp, tmp, images-- from the image module, etc) inside my files directory that do not allow me to access and browse their contents. I want the permissions to allow this, especially since I am needing to troubleshoot how image_assist is handling (or not handling) images within these directories. Any insight into this phenomenon would be greatly appreciated.

Pages

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