So I need to both read and write user data and I'm wondering if there is a better way than globalizing and unserializing data (then serialize it back if I need to write)? Something more like user_access(). This would be for the current user mostly, but I'd like to edit other users data too if possible (w/o resorting to manual editing, i.e. queries, serialization, etc). But mainly the current user... I really enjoy coding for Drupal and I've learned a lot lately, it's well put togheter but I'm stuck at this point.
I've been reading Pro Drupal Development and reading through the Handbooks but no where can I find an explanation of how Drupal Nodes handle many to many relationships. I understand most aspects of MySQL and I can see how I might force these relations with a relationship table and jimi it into the module's forms. I guess my problem is that I haven't seen that recommended and I'm not sure how the Drupal community suggests this should be handled.
For example: An event node can take place at many location nodes and vice versa.
I've created a node type as part of a module that I'm developing. When the form to add the node is submitted, I'd like to have access to the raw $_POST and $_FILES superglobals. Does anyone know where I would be able to do that? I tried it inside my implementation of hook_insert and hook_update, and that didn't work. When the form is submitted, the data is added to the database and then the user is immediately redirected to the page containing the nodes content.
I am looking for the name of the module that allows you to get your blog posts in organized groups.
I saw it at http://www.sanfranciscorealestatebrain.com/ after following a link from the forums.
If you go to the link above and look on the left side of the layout, the expandable categories are what I am talking about.
How do I get my blog posts to do go into something like that automatically when they are posted?