Posted by tejaspmehta on August 16, 2011 at 11:47am
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
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
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
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