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

Calculating remaining time: what to do with timezones?

Hi everybody.

I'm working on a module which adds a new node type.
This new node type has a "closing_date" field which is in unix date format.

I need to show informations about the remaining time before the closing date calcolated from current time.

Drupal support the configuration of timezones.

What do I need to do to correctly use dates with timezones??

example:
closing date is 12/12/2006 15:00 GMT
I've set GMT as my timezone on my drupal account page
In my timezone is 12/12/2006 13:00
the module show "2 hours remaining"

Events module has no start and end date

Hi

I was using event module version 1.122.2.23 2005/10/04 and it had event's Start and End date and time filleds to fill. But now when i upgarded it to v 1.183 2005/12/13 , there is no start and end date filled.

can some body correct it. I need it very much

regards,
--rafi

setting node->title from module fields

Hi everybody!

I need to set the title of a node from other fields provided
by a custom module created by me.

The custom module has two fields called number and name.

How do I set the node title to be 'number . name' ?

thank you.

Fabio

Gripe with book.module

I really hate the way that book.module generates the "printer-friendly" link without checking whether or not the current page is actually of the "book page" type. Instead it seems that the only check is:

if ($type == 'node' && isset($node->parent)) {

which is certainly not an ideal way of doing things... if a module also defines a "parent" attribute to the node, then it will get the printer friendly links no matter what. I have to hack the book.module every time I upgrade.

flexisearch.module add-on for flexinode: advanced searching of content types & content fields

Just a quick one to mention I have uploaded a new project to the contribtions folder called FLEXISEARCH.MODULE which is essentially an add-on module for flexinode that offers an advanced search page for content types.

brief description

The flexisearch.module allows site admins to setup a custom flexinode content search page that permits users, with permission, to search through specific content fields and content types. A simple settings page offers complete control on which content types and which content type fields appear on the flexisearch page.

mailhandler module compatible with 4.7/CVS?

Hi there! Is anyone using the mailhandler module with 4.7 Beta/CVS and can give hints on whether the module is compatible?

Thanks!
Marco

Pages

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