I want to modify the search function so that I can send requests for XML data form other web sites (like Ebay) that have an API for such actions.
I have already copied and made my own search module. from the stock one.
in MY_search.module where should I start.
Any advise would be appreciated.
I've got a little menu problem, and the answer I thought would work, does nothing. I have a module I wrote that assigns a new role to a user when they perform a certain action. That works just fine. The problem is that the role to which they are assigned gets a new menu item. Well, that menu item doesn't show up for a while.
I am working on extending the information stored in the user database table and object. However I had to create the form to set the information via the user_hook('form') (for style/theme reasons other wise I would just use the "profile.module"). I am unclear on how to access the values during the user_hook('validate') and user_hook(insert) that I assume are called on submit via user_hook('form').
I understand there is no simple answer but any links to examples with a similar goal are welcome. Code I have now is as follows...
*note* the use of div's is for style/theme reasons other wise I would just use the "profile.module".
<?php
// $Id$
/**
* @file
* Extends attributes for users
*/
/**
* Implementation of hook_user().
*/
function extendusers_user($op, &$edit, &$user, $category = NULL) {
switch($op) {
case 'register':
$fields['user_ext_info'] = array('#prefix' => '
I'm searching for a module that enables the users to demonstrate interest in a event. Not the signup functionality...
Something simpler like a button that works like a counter.
The major features that i search are:
-Counting the users that are interested in a event
-No user can demonstrate interest twice in the same event
-And a list of the users that demonstrated interest in the event
Is there anything that solves my problem??
I'm a PHP noob but i'm willing to develop somthing like this, but i don't how to start....
Hi,
I want to set the page title of the page consisting of a form being rendered. Instead of the default title, I want to display my custom title. I have tried to use drupal_set_title but it's not working.Where am I supposed to use that function .It's not working in form_alter.Seeking for help
I created a module that defines a form element usiong hook_elements(). This element gets an own validation handler, where a form value is set via form_set_value. This works fine with normal forms, but when using the node form, it is not working when clicking on the preview-button. Somehow, the form value does not get updated, because it does not show up in my node form.
To summarize the problem: I'd like to be able to modify a form value for a node editing form from a validation handler of a custom element type.