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'm using the event module to show a calendar and list of upcoming events and would like the events to remove themselves from the Upcoming Events list once the day is finished. e.g On 26th Dec the Christmas Day event is automatically removed.
Once they've expired we need them to go into a "Past Events" section/list.
Apache/2.0.58 (FreeBSD)
PHP 4.4.4
Drupal 4.7.4
MySQL Client API 4.0.26
On every Drupal generated page at http://humanbaton.com, we're getting some gibberish junk characters between the http headers and the xhtml content. It's not only ugly, but it's breaking rss feeds and may be responsible for some other problems we're experiencing.
I don't think this is the apache+php gzip problem.
I have used the profile module to add a postcode field to my user accounts.
I then wish to store this postcode when a user posts a form which uses the cck computed field.
If i navigate to home -> administer -> content -> content types -> [myContentType]
there is the option to enter the code you wish to be run when the user posts the form.
I have entered:
global $user;
$node_field[0]['value']= $user->profile_postcode; // nothing stored