I have created a custom content type for a user profile that needs to private per user or public if the user chooses. Is there a way to do this. On the access control there is only create and edit which each user needs to be able to do.
I just created four new fields for my brand-new CCK content type, but none of them shows in the 'Add existing field' dropdown menu on top of the 'add field' tab, neither they seem to be present as tables in my database...
How does exactly CCK handles new fields? Does it really create one table for every new field name, or it does that only for the *first* field of a certain type?
I also posted this as a bug for now, because i believe anyhow those fields should show up in case i need to re-use them..
Ok, I finally took the plunge and contributed a module. I created a project page (http://drupal.org/project/niftycorners-module) and the code to CVS but do not have a download link for the module on my project page and was wondering what I need to do to make this show up.
I am creating a node module which has a table of related items. I have these outputting as an editable table and wish to palce a delete button at the end of each row so that users can delete specific rows individually. I have managed to get the buttons appearing using the stand button type form element but cannot see how I hook into the button click.
When I click the button the form is submitted and the "op" code is set to "delete_highlight" but I do not know which hook I should be using to react to this or how I can pass the record id that requires deleting?
I'm trying to create a shortened version of the form at http://www.examplesite.com/?q=node/add/blog that just has fields for Title and Body, none of that other stuff. The problem is I have no idea where to start with this, I'm new to Drupal.
I tried adding the following code to my page.tpl.php file just as somewhere to start, but not really getting anywhere: