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

Q: Disable comments in blog nodes.

I was wondering how I would disable comments from appearing in any blog node type. I want to insert them manually and not have them automatically display. I have tried going to administer > content > configure > content types and changing it to where comments are 'disabled' however comments still show up here. Is there any other way to do this without hacking the comments module?

Thanks!

warning: in_array(): Wrong datatype for second argument

heya. i'm very new to this cms and content management in general. i've been thrown into a situation where the site i'm managing has already been developed by an outside source and am having to figure things out along the way. i've been doing all right until today. there's a news page on said site and when i try to revise the content i get the following error:

warning: in_array(): Wrong datatype for second argument in...
/webroot/modules/node.module on line 1319.

Problems adding a _form_date into a _form_hook

Hi all.

I'm building a module that adds issues (kind of small help desk). Everything works except the "last small" detail, I want to add a "resolving date" field (it saves its value on a custom table) build into the form hook function with the form_date funtion I've found on core modules as archive.module or event.module.

The form_hook function embeds the form_date function with a form_item core function. The problem is that form_item doesn't have a $name attribute to handle the new date built on the popup menus (for day and month and year).

getting onlinestatus to display on newly customized profiles page

i've been customizing the user profile pages by creating a user_profile.tpl.php and hooking to it from theme.php. i've used this section of the handbook for inspriation:

http://drupal.org/node/35728

i'm now trying to display the online status of users for chat programs (aim, msn, etc.) via the onlinestatus module.

i'm stuck on how to get the status displayed on the new profile pages.

i'm calling this within the user_profile.tpl.php and it doesn't display anything:

How do you control which branch shows us as latest release?

Here is shows my latest release is cvs:
http://drupal.org/node/71192/

But the most up to date version is in 4.7, which is reflected here by the last updated date:
http://drupal.org/node/71192/release

There must be something I have to do in cvs... can anyone help?
Thank you!

form submission into 2 modules

Hi,

I am writing my own drupal module. I've made a custom form for my module. The form consists of:

1. User info (identical to the user info from the user module e.g. username, mail adres)
2. A bunch of extra stuff

Now i want to put the User info into the standard drupal table "users" so that i can take advantage of the built in drupal capabilities concerning users.

Pages

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