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

How are comments rendered on a node page through node_view()

Hi Folks

How are comments rendered on a node page through node_view() it does not seem to be through either node_hook($node,'view') or node_invoke_nodeapi($node,'view')

node_hook leads to alternative way of rendering a node through page_view(),story_view(),..
and node_invoke_nodeapi($node,'view') leads you to comment_nodeapi($node,'view') which does have any code defined for the 'view' case .

Can some someone put me in the picture please ?

Regards Paul

Forum and category module doesn`t work

Are there any problems know by using forum module and category module?

Because if i add a new folder or forum at the administer > forum page, a message that the forum/folder has been created will shown, but the folder/forum isn't availible.
In the database there is a new entry in the category-table, but the forum table is empty.

can anyone help me to solve the problem?

thx
dominik

Showing relativity links when Theming flexinode

I am theming with flexinode at the field level and am using Node Relativity to upload Lead Images for each Flexinode article. I like the Node Relativity play because it allows me to keep the images in albums as well.

Where is the user table gets updated?

I'm trying to understand how user registration form changes get written to the DB in order to understand what is the apropriate hook to use in my module.
So
i changed the signature field and pressed submit
i added a print in the _db_query in database.mysql.inc

but couldn't find there any reference to signature,
the database did get the update so it was happening somewhere else

i'm a bit puzzeled
anyone knows?

tnx,
hed

Overwrite picture from user info

Hi.

I'm writing a simple module for use gravatar[1] user pictures instead of the drupal's one.

First I load the user's profile to check if he wants to use gravar image.

The code looks like this:

Problem with aggregator categorization.

Hi

i have this problem when i categorize a feed this warning comes up:

warning: Invalid argument supplied for foreach() in D:\CMS\drupal-4.7.0\modules\aggregator.module on line 1121.
warning: Invalid argument supplied for foreach() in D:\CMS\drupal-4.7.0\modules\aggregator.module on line 1121.

otherwise the news get updated and all seems to be fine but this warning always comes up.

any one know how to fix this?

thnx in advance

regards.

Pages

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