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

New node type, without standard node fields 'title' etc. but searchable

I am about to write a module which contains a new node type. My problem is that the node creation form always shows the 'title' field and the information about the 'author'. I would like to remove this information from the form but the node type should be searchable usind the core search.module. Can anybody help me in solving this issue?

Want a simple social network?

I've had to build a slightly customized version of the blog module (with an invitation system) as a social network.

It's my first module, but there's not really much new code, just a few strategic changes - and two new columns in the users table.

CSV filter

I installed the CSV filter for drupal 4.6

I inserted a table with [csv unquoted sep=;] and [/csv] around it.
In the post the text is formatted as a table. no problem, everything looks fine.

But, on the front page I show the first 200 characters, and there the html text is also shown (so all the ; and the csv unquoted sep=;] text is shown as regular text.

Is this a bug?

thanks for the reaction

Casper
www.pernix.nl

HOWTO assign a user to a role programatically

I have an application where I'd like to assign users to a role programatically, if the user meets some criteria. I am finding this difficult to do, since Drupal appears to be unsetting anything that I set in the users_roles table of the database.

Right now, I use hook_user to add a portion of the user registration/edit screen that deals with the application's user settings. I've put code into the 'validate', 'update' and 'insert' options, but I've tried:

An easier way to insert images?

Hi,
I am fairly new to the Drupal system (but I love it!) except for the handling of images. I noticed that there are a few posts about this topic and I thought that I would share a method that I am using that has worked reasonably well for me.
It requires image_filter to be installed, and uses a user block to generate thumbnails of uploaded images. The block allows you to scroll through a list of the thumbnails and select your image - the image filter tag is generated in the block above the list (you still have to copy and paste it into the relevant text field).

Pages

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