I am trying to redirect users after they login to a landing page (a simple page node), but no matter what drupal_goto I change in user.module, it does not redirect (still takes the user to their account).
Can anyone give me a heads up as to which goto I should change which would succesfully redirect a user to a drupal url rather than their account ?
Where does the poll module store the voters IP address?
I was testing the module and would now like to reset the Poll votes. I went into mySQL, the poll field, and found only one IP address and yet I have two votes. Basically I would like to reset the Anonymous vote ... yes oops :-).
I'm using Drupal menu module, but I can't make it works properly. I'm creating my custom menu, adding menu items with sub-menu.
The problem is that if I assign a valid link to the top menu item, it indeed opens the right page, but it doesn't expand the sub-menu. Otherwise, if I assign a link, for example, to an empty taxonomy category, the empty engine-generated page is displayed and the menu expands properly.
How i can change head or menu or content of my site that use drupal to look like this ? www.thaitradder.com
it my site
i need to use drupal for them how i do?
can some one help me ?
and pls talk with me on msn wongtapa@hotmail.com
Thanks
I've tried this 20 different ways and I can't figure it out. I want to pull some uid's from my DB, and make a dropdown box (form_select). The trick is that I want the usernames as the values and the uid's as the keys. I've already got a function in place to lookup the usernames - 'member_name()'.
Here's the DB query:
$result = db_query("SELECT group_members.uid FROM (group_members) WHERE group_members.gid = '%d'", $node->gid);
I am sure there must be a module for this somewhere, but I don't know where.
I'm trying to make a drupal site where people can post their items for sale, and can sort them by price, or they can search within a price range. Does anyone know what module I would use for this?
Related question: Is there a way to display only titles of posts, as opposed to the post, and extraneous info, and teaser text?