How to create custom add/edit/delete module in D7 ?

Events happening in the community are now at Drupal community events on www.drupal.org.
tejaspmehta's picture

Hello,

Did anyone know how to create custom module in D7 for simple add/edit/delete. I am new to module development. Need to create one content type which have add/edit/delete functionality. CCK is not a option for us as lots of additional functionality needed here. We have already checked http://drupal.org/node/361112 but this is only for creating block.

Anyone have proper links to share or custom module created which will be helpful for review will be great help.

Thank you
Tejas Mehta

Comments

http://drupal.org/project/examples

Mandakini_Kumari's picture

1)Create

.info files (more at http://drupal.org/node/542202)

.install and the Fields API (more at http://drupal.org/node/876250)

for detail visit From url http://drupal.org/node/361112

2) Please download 7.x-1.x-dev tar.gz (135.34 KB) | zip (185.9 KB) from http://drupal.org/project/examples to play with module

Mandakini Kumari

http://drupal.org/project/examples

Mandakini_Kumari's picture

1)Create

.info files (more at http://drupal.org/node/542202)

.install and the Fields API (more at http://drupal.org/node/876250)

for detail visit From url http://drupal.org/node/361112

2) Please download 7.x-1.x-dev tar.gz (135.34 KB) | zip (185.9 KB) from http://drupal.org/project/examples to play with module

Mandakini Kumari

CCK & Custom nodes in code

joshicsin's picture

Well, its understandable that you create a module to teak features, but I'm not getting the purpose to create custom node type using a custom module. The main drawback is that you will not able to use any of the fields of that content type in views or you have to write views handlers for that. You can use content permission module to provide permission for each field.

Regards.

JoshicsIN

skype: info.joshics
Twitter: joshicsin
Facebook: joshicsin
Web: http://joshics.in

India

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week