This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Views module: Wrong date and needed comment module?

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?

Thanx in advance.

Searching profiles

Good morning drupal.org !

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):

How do I add Page Titles to nodes?

I want to add a custom page title to nodes - is there a module for that?

Gallery 2.1 module problem

I just upgraded my Gallery from 2.0 to 2.1. It works fine, but the Drupal Gallery module (gallery-4.6.0.tar.gz) does not. It returns an error message:

Fatal error: Call to a member function getErrorCode() on a non-object in /home/www/zoozem/public_html/modules/gallery/gallery.module on line 321

How can I fix it?

getting form variables

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() ).

adding a site-wide rss feed...

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():

	$items[] = array ('path' => 'summary/feed', 'title' => t('summary feed'), 'access' => TRUE, 'callback' => 'summary_feed', 'type' => MENU_CALLBACK);

and then added this function:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions