datetime

Events happening in the community are now at Drupal community events on www.drupal.org.

creando un campo datetime

Posted by joseft40 on July 15, 2014 at 9:16pm

saludos estoy desarrollando un modulo, en dicho modulo creo un tipo de contenido y determinados campos en el archivo install, uno de esos campos es un campo datetime, a continuación el código que tengo desarrollado en el hook_ ... installed_instances() :

'field_fecha' => array(
'field_name' => 'field_fecha',
'label' => $t('Fecha del Proyecto'),
'description' => $t('Indique la fecha de inicio del proyecto'),
'required' => TRUE,
'type' => 'datetime',
'widget' => array(
'type' => 'date_popup',
//desde aca mi dolor de cabeza :)

Read more

How to present opening hours

Posted by xmacex on March 8, 2011 at 11:49am

Hiya. Do you have suggestions for storing and presenting opening hours in Drupal 7? This is quite a mundane and universal problem, so i'm absolutely sure this has been solved in many ways. There is the Opening Hours -module, which isn't available for D7 at this time though. The Danish ting.DING uses Office Hours, and present this information very well (see the Aarhus libraries f.ex.) in a list, on a map and for individual libraries.

Read more

Bug db_query datetime columns ?

Posted by killua99 on June 9, 2010 at 10:08am

Hola,

Como desarrollador de Drupal abro esta discusión en busca de ayuda y/o confirmación sobre un posible bug que estoy viendo que se me esta presentando a la hora de crear un modulo.

Explico el bug que me esta ocurriendo.

Síntomas:

A la hora de crear un SQL para obtener una simple fecha la función db_query me retorna sin el día correcto por ejemplo:


<?php
$sql = 'SELECT DATE_FORMAT(date_added,\'%d-%m-%Y\') as date FROM {tabla_test} GROUP BY date_added ORDER BY date_added LIMIT 1'; // LIMIT 1 para obtener solo un resultado para test
$res = db_query($sql);

Read more

RSVP module question

Posted by spirodon on January 3, 2009 at 10:40pm

Hello all,

I'm using the RSVP module for a website I'm developing and I have a question regarding its use. It's Drupal 6.

I'm looking to have other users RSVP for my events (created using the Date & Calendar modules) without actually having to send out the invitations. Kind of like what the Signup module does.

Is there a way to do this with the RSVP module that I'm unaware of? It seems to me like you have to send out the invites first and then the only people who can do the RSVP are the invitees. But I want EVERYONE to be able to RSVP if they want without needing an invite.

Read more
1 comment Categories: , , , ,

Port event_views module to event 5.2

Posted by gerhard killesreiter on July 19, 2007 at 9:52pm

Hi there,

I need some help to update the event_views module to the rewritten version of the event module aka "event 5.2". I am not too familiar with views.

The main change is the change of storage format for dates. All previous versions of event used "seconds since 1970" as storage mode, 5.2 uses actual SQL dates.

Please let met know if you are interested in helping out, I'd hate to release event 5.2 without views support.

Cheers,
Gerhard

Read more
2 comments Categories:
Subscribe with RSS Syndicate content

AltStyle によって変換されたページ (->オリジナル) /