I want to be able to recover all the nodes attached to a tid. I'm thinking of a function which might be called "taxonomy_get_nodes" for example, but cannot find it anywhere. I have found a "taxonomy_select_nodes", but this only returns a limited amount of information (I really want the nid and the title).
Similarly, a function which would simply return all the properties of a node would be very nice: eg "node_get_attributes"
I have spent ages looking through the documentation but with no success...
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.
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.
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?
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.
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