[support] Request to access my account again

Anil Reddy anilreddykarna at yahoo.in
Wed Jul 25 12:49:11 UTC 2012


Hi,

How stupidly gives you the replies. what am i asked and what you have sent.
I just made request for new password because my account has been blocked unfortunately.
And you are sending me rules and regulations of sending an email,is it necessary right now. 

 
reg.......
Anil Karna


________________________________
 From: "support-request at drupal.org" <support-request at drupal.org>
To: support at drupal.org 
Sent: Wednesday, 25 July 2012 5:30 PM
Subject: support Digest, Vol 115, Issue 36
 
Send support mailing list submissions to
    support at drupal.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.drupal.org/mailman/listinfo/support
or, via email, send a message with subject or body 'help' to
    support-request at drupal.org

You can reach the person managing the list at
    support-owner at drupal.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of support digest..."


Today's Topics:

   1. Entity exposed to view but 'date' type field are not    present
      (Juraj Chlebec)
   2. Unblock my account (Anil Reddy)


----------------------------------------------------------------------

Message: 1
Date: Tue, 24 Jul 2012 17:10:56 +0200
From: Juraj Chlebec <havran at gmail.com>
Subject: [support] Entity exposed to view but 'date' type field are
    not    present
To: support at drupal.org
Message-ID:
    <CAEXz2Pa+F3LdORCrWDggyVh3UpRiqsGtZ_O3=TMBfU=ZDPs43g at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I have same problem as here: http://drupal.org/node/1021466#comment-4766902

Callbacks are only used by
wrappers<http://drupal.org/node/1021466#comment-4766902>
Posted by JvE <http://drupal.org/user/892998> on *July 22, 2011 at 10:18am*

Note that the "getter callback" and "setter callback" functions are
*only*used by Entity metadata wrappers.
Not by entity_load or Views and such.

You can not use these to convert a different timestamp format in a database
to a timestamp for use with the 'date' type unless you specifically create
a wrapper for each of your entity instances.

I tried to get my (int)yyyymmdd values from the database to show up in
Views as dates and mistakenly thought I could use the "getter callback" for
the transformation.
Example of when callback is and is not used:
<?php
    $entity = entity_load('myentity', array(1));
    print $entity->day; // this gives 20110721 (from the database)
    $item = entity_metadata_wrapper('myentity', $entity);
    print $item->day->value(); // this gives 1311206400 (from the "getter
callback")
?>

In Views my day shows up as "08/21/1970 - 19:18" ...
so if someone can point me in the right direction to get my "days" as
timestamps, I'm all ears.


How can i use "getter callback" to convert field from database stored as
'date' to timestamp for using for view? Or is there other way how to
achieve this goal?

Juraj

-- 
Juraj Chlebec aka Havran
http://www.svoji.sk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120724/0b3985f1/attachment-0001.html 

------------------------------

Message: 2
Date: Wed, 25 Jul 2012 17:17:47 +0800 (SGT)
From: Anil Reddy <anilreddykarna at yahoo.in>
Subject: [support] Unblock my account
To: "support at drupal.org" <support at drupal.org>
Message-ID:
    <1343207867.83814.YahooMailNeo at web193004.mail.sg3.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"



?Hi,
Please unblock my account,or send another password for am waiting from morning onwards.

reg.......
Anil Karna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120725/87cd08a6/attachment-0001.html 

------------------------------

-- 
[ Drupal support list | http://lists.drupal.org/ ]

End of support Digest, Vol 115, Issue 36
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120725/883c177e/attachment.html 


More information about the support mailing list