Re: datetime form helper.. need to display only AM/PM instead of hours and minutes

2014-08-24 Thread FandaR
I have solved it already by just hidding the Hours and Minutes fields with 
CSS and set the date format into 12hrs.

Thank You

On Sunday, 24 August 2014 17:16:31 UTC+2, FandaR wrote:
>
> Hello,
>
> We have about 15 datetime fields in our CakePHP project.. now my client 
> wants to change the dropdowns withou hours and minutes with just one 
> dropdown which would allow to select only AM/PM values without hours and 
> minutes.. what would be the best way and easiest way to replace it in all 
> forms on every page? I would like to ideally keep the datetime format in 
> MySQL and just save "AM" as for example "Y-m-d 10:00" and "PM" as "Y-m-d 
> 20:00" in the database so I dont need to change the structure and just 
> modify the datetime form helper somehow?
>
> Thank You for your suggestions
>
> Frank. 
>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


datetime form helper.. need to display only AM/PM instead of hours and minutes

2014-08-24 Thread FandaR
Hello,

We have about 15 datetime fields in our CakePHP project.. now my client 
wants to change the dropdowns withou hours and minutes with just one 
dropdown which would allow to select only AM/PM values without hours and 
minutes.. what would be the best way and easiest way to replace it in all 
forms on every page? I would like to ideally keep the datetime format in 
MySQL and just save "AM" as for example "Y-m-d 10:00" and "PM" as "Y-m-d 
20:00" in the database so I dont need to change the structure and just 
modify the datetime form helper somehow?

Thank You for your suggestions

Frank. 


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Address in email header

2010-09-24 Thread FandaR
I am using CakePHP framework, so I set this variables:
   $this->Email->from =
Configure::read('Site.noreplyemail');
   $this->Email->return =
Configure::read('Site.noreplyemail');
   $this->Email-
>replyTo=Configure::read('Site.noreplyemail');
where Configure::read('Site.noreplyemail') is the email address

But this didnt changed all the address in the email header. The email
header is below:

Delivered-To: fandarem...@gmail.com
Received: by 10.204.121.3 with SMTP id f3cs5634bkr;
   Fri, 24 Sep 2010 02:43:02 -0700 (PDT)
Received: by 10.100.154.3 with SMTP id b3mr3322700ane.
245.1285321381720;
   Fri, 24 Sep 2010 02:43:01 -0700 (PDT)
Return-Path: 
Received: from mydomain (mail.mydomain.com [xxx.xxx.xxx.xxx])
   by mx.google.com with ESMTP id d19si4617117and.
113.2010.09.24.02.43.01;
   Fri, 24 Sep 2010 02:43:01 -0700 (PDT)
Received-SPF: neutral (google.com: xxx.xxx.xxx.xxx is neither
permitted nor denied by best guess record for domain of
ng...@mydomain) client-ip=xxx.xxx.xxx.xxx;
Authentication-Results: mx.google.com; spf=neutral (google.com:
xxx.xxx.xxx.xxx is neither permitted nor denied by best guess record
for domain of ng...@mydomain) smtp.mail=ng...@mydomain
Received: from nginx by mydomain with local (Exim 4.63)
   (envelope-from )
   id 1Oz4o1-Bd-4h
   for fandarem...@gmail.com; Fri, 24 Sep 2010 09:43:01 +
To: fandarem...@gmail.com
Subject:  Account Activation
From: no-re...@mydomain.com
Reply-To: no-re...@mydomain.com
X-Mailer: CakePHP Email Component
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Message-Id: 
Sender: Nginx user 
Date: Fri, 24 Sep 2010 09:43:01 +

How Can I change the rest address in the email header from
ng...@mydomain to no-re...@mydomain.com? Thank You

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Amazon FPS integration

2010-07-29 Thread FandaR
Hello, isnt there some cakephp component for Amazon payment gateway?
I need to use Amazon reccuring payments on cakephp site.

Any help will be appreciated
Thank You

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Cookie name problem

2010-06-03 Thread FandaR
Hi, I have problem with cookies. If I rename the cookie to some name,
for example I set Configure::write('Session.cookie', 'goodprg'); in
core.php config file, The cookies stops working.
I have setup  Configure::write('Session.save', 'cake');
If I setup the cookies back to original name -
Configure::write('Session.cookie', 'cakephp');
Then its working good. What can be wrong?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en