I am trying to write a module that defines a menu item which I would like to have the following characteristics:
* Link text to be the user's login name
* Link should go to the "edit" page of that user
* Have the ability to move this menu item (I really want this in the primary menu)
* It only show up if the user is logged in
I've seen several posts on blocks and whatnot, but I really need this to be a menu item. This also seems so simple, but after working on this for a while now I feel like I'm taking crazy pills.
Hi, how would I create a new content type with new fields? I have members that want to create CareSheets for Orchids. It would be basically the same thing like submitting a story, but it would have extra fields, like (humidity, pH, soil, growing notes, etc, etc). Is there a mod that's out there where you can create new content types ???
Hi
I am making a widget to extend the autocomplete box by giving it more fields to search on.
the widget field type is a nodereference
i was looking through drupal posts and i was looking for how to do this , but i didn't find.
my question is how to pass more arguments to the Ajax if possible so i could cut down the results of the autocomplete text box and get more compact results.
When creating a field with CCK that uses my widget, I'm finding my mywidget_widget function is being called with op='form'. - As in while I'm still in the admin's configuration page (admin/content/types/expense/fields/field_my_field).
This seemed not to matter on the first widget I made, but the widget I'm currently working on hacks the form quite a bit, and it's now appearing after 'submit' has been pressed (along with warnings that various fields haven't been filled in).
Basically: Why is my hook_widget being called with op='form'??? (or at all, really).