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 questions about the views module. I use version 4.6.0 of Drupal and views module.
The first question: Is it necessay to use to comment module? When I put the comment module off I get a sql syntax error.
The second question: After I put the comment module on, alle posts has a last post date of 36 years and 13 weeks. Seems the start of epoch. So where does the views module get the dates from?
I have a form into which a user can enter parameters, which are then used to retreive a list of matching profiles. I am currently getting a list of strings from the form, eg, 'favourite colour' is a set of checkboxes and the returned array contains: ('red'=>0, 'blue'=>'blue', 'green'=>'green'), where red was not selected and blue/green were.
Because the values are serialized into the database, the SQL statement will include a string like this (this is very pseudo-sql but the idea is the same):
I've been struggling with this for the whole evening with no success :/
Briefly what I want to do in the bigger picture: I'm creating a module allowing users to search through some data. By default, it shows all data, but there's also a form that enables them to narrow the results. The form function is named hotFriendly_view_form.
The problem: after the user submits the form, $_POST array is empty if I call that form generating function (hotFriendly_view_form() ).
I've cobbled together a site-wide RSS feed, adding it to summary.module. Seems to work except I get a "warning: Cannot modify header information - headers already sent by" message before the RSS feed. Any thoughts?
All I did was modify summary.module to add an item in summary_menu():