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

Function to get node object from nid?

Looked through node module functions and can't find what I want, which is to be able to construct a node object from a nid.

THanks!
Doug

cvs question

Ok, I'm new to CVS and can't seem to figure this out ...

How do you commit do HEAD, and have that commit go into a branch as well. For example, look at the latest version of the .htaccess file in Drupal core http://cvs.drupal.org/viewcvs/drupal/drupal/.htaccess?view=log&only_with... . If you click on any of the 5.0 tags, the revision number stays the same - 1.81. Looking at the log, this was done in a single commit.

Add Node

When a user attempts to create a node:

http://drupalsite.com/node/add

What permission function(s) are executed?

user_access?
node_access?

And, in which modules?

Thanks so much!

-ron

How to block certain content from guests

Is there any module that could block some content/posts from unregistered users/guests?

hook_view and theme

The module I am working on will provide a new node type that will be rendered in a certain way.

Now, I have my hook_view function ready with returning a structured content array, but I also want to pass this content to a custom theme fuction. How should I implement this?

- Should topic_view call theme_topic and return rendered html content?
- Should I just implement a theme_?? function and rely on it being appropriately called when a node of type "topic" should get displayed (and what should "??" be)?

Or is it something else?

wiki module

Is it possible to have a link to the last most efficient wiki module for drupal 5???

Pages

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