Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have two websites running on the same server, one is drupal and one is a custom one. I wanted to authentificate users into drupal based on their accounts from the custom one, so I created a simple module for this. Even if the module_auth function returns true, Drupal still tells me "Sorry. Unrecognized username or password.".
Any idea what could be wrong?
I'd like to make my module translations available to everybody, so hopefully they will be included with later versions of the modules.
What I've done so far is to translate the strings using the admin interface; I guess I can write all the translated strings in a file, anybody knows the procedure to follow so they can be included in the modules?
Folks,
I wish to associate one node type with another. In my example, I want to have a EVENT node be labeled with a VENUE (i.e., a place like a restaurant) One way to do this would be to permit/enforce that a node type of your choice must be uniquely tagged against a term in a taxonomy.
I am writing a module right now that changes the theme. This is a site specific module, so the only two themes are a "high bandwidth" theme and a "low-bandwidth" theme.
On each page I am generating a link back to that page that allows the theme to switch. For example. if you were at mysite.com/about, then there would be a link a to mysite.com/lo/about, which when you click on it, the theme changes to the low bandwidth version.
I am in the process of writing a module that will take a date as part of creating a node. If there were a form_date() function, I would use that. Because there isn't, I'm here asking for advice.
What is the best and most consistent way to create a date entry on a form?