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.
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?