This might help you
https://github.com/barbushin/php-imap
Am Samstag, 12. März 2016 01:31:18 UTC+1 schrieb April DeRossett:
>
> Ahoy! I am looking for a way to receive reply emails into my cakephp
> application and after a ton of research I haven't yet figured out how to
> make that happen.
im also having this kind of problem.
does anyone know what's wrong with this one?
On Friday, September 14, 2012 6:23:05 AM UTC+8, incognito wrote:
Hi,
I am basically trying to create an ajax edit form.
This is the edit link code
?= $this-Js-link('Edit',
array('controller' =
Did you found any solution for that?
Τη Δευτέρα, 11 Νοεμβρίου 2013 2:35:16 μ.μ. UTC+2, ο χρήστης Riccardo
Trombini έγραψε:
Hi
Did someone successfully manage to run CakePHP 2.x on a lighttp server? I
am having troubles accessing javascript and css-files. I run into an error
404.
--
the rule stays the same, you just apply a different start value to check
against.
TODAY
is the same as
$startValue
for your custom validation method anyway
Am Mittwoch, 7. August 2013 20:06:50 UTC+2 schrieb Eric Haskins:
Hey everyone quick question.
I have an app and Im having issues
Apply the array to the $paginate class var, not the method. Basically, you
can declare the $paginate array as a class var, then add to or override any
part of it from within an action.
On Thu, May 23, 2013 at 7:12 PM, Larry Lutz lut...@swbell.net wrote:
I'm trying to achieve the fat
Have you got an example of that?
On 24 May 2013, at 01:09, lowpass zijn.digi...@gmail.com wrote:
Apply the array to the $paginate class var, not the method. Basically, you
can declare the $paginate array as a class var, then add to or override any
part of it from within an action.
On
that in the controller and just pull the
params from the model.
Dave
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Jeremy Burns : Class Outfit
Sent: Friday, May 24, 2013 1:00 AM
To: cake-php@googlegroups.com
Subject: Re: CakePHP 2.x Moving Find into Model
: Class Outfit
Sent: Friday, May 24, 2013 1:00 AM
To: cake-php@googlegroups.com
Subject: Re: CakePHP 2.x Moving Find into Model
Have you got an example of that?
On 24 May 2013, at 01:09, lowpass zijn.digi...@gmail.com wrote:
Apply the array to the $paginate class var, not the method
simply swap out as needed
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Jeremy Burns : Class Outfit
Sent: Friday, May 24, 2013 2:01 AM
To: cake-php@googlegroups.com
Subject: Re: CakePHP 2.x Moving Find into Model
Got it - thanks. So you're really just setting
Hi Kicaj and thanks for your post, I stumbled upon it before to start the
internationalization of project.
It was helpful but my main problem is that I can't save data with
validation, I have to turn them off on my save($data,false) and I can't
figure why it won't work!
--
Like Us on
Read my article on bakery site:
http://bakery.cakephp.org/articles/kicaj/2013/01/27/internationalization_with_static_and_dynamic_content_routing_and_switching
W dniu wtorek, 2 kwietnia 2013 05:06:25 UTC+2 użytkownik Livin Inchina
napisał:
Hi everyone!
I'm having a hard time making my
Not sure if it is possible using the core CakePHP schema tool.
If I was to attempt this, I would investigate what events are sent to
the before() method. If you find something that works. Then run
ClassRegistry::init('Model')-query('RENAME ...').
Take a look at how I pre-populated a user table
http://www.cakephp.4uk.pl
On Thursday, November 1, 2012 4:18:57 PM UTC+8, franscelstain wrote:
is there someone who can teach me to use ajax in cakephp 2.x, because I am
still very novice
thanks
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
The ajax helper is deprecated in 2.0.
Here's a quick and dirty ajax form submission:
in app_controller-beforeFilter():
if ($this-RequestHandler-isAjax()) {
Configure::write('debug', 0);
$this-autoRender = false;
$this-layout = 'ajax';
}
In the head section of default layout:
Checkout this video: http://www.youtube.com/watch?v=dQ71psonQx0feature=plcp.
Hope it helps.
On Thursday, 1 November 2012 04:18:57 UTC-4, franscelstain wrote:
is there someone who can teach me to use ajax in cakephp 2.x, because I am
still very novice
thanks
--
Like Us on FaceBook
Hi,
You are use facebox jquery this is very nice
On Wednesday, October 3, 2012 10:00:22 AM UTC-4, Kiran wrote:
I have read other posts and searched google before posting this here.
I have a jquery popup in a view where I intend to show EDIT form and then
submit using ajax.
Further
Actually you only need one table with the following fields:
username or email
password
group
+ additional fields that might be useful for your application
After login (with AuthComponent) you can check to which group the user
belongs. Depending on the group you can redirect the user to the
You can find solution inside code down here, just read it carefuly. I used
fancybox, but easily you can use some other functions from jquery. I
recommend you fancybox for this kind of action.
div class=add-feedback
a class=rize-feedback buttonb href=#feedback-form-div?php __('Submit
feedback');
Thank you very much Ivan,
I got an Idea now. I tried similarly but couldnt get it worked and thought
that was not the right way. It is clear now. I will try this and post my
results here.
Cheers,
Kiran
On Thu, Oct 4, 2012 at 11:46 AM, Ivan Rimac ivn...@gmail.com wrote:
You can find solution
jquery, and $.load() will be your friend here.
You can just load the html view of the edit form into a div and show it.
not the only way to do it, but certainly the most straight forward. (then
just trap the submit, serialize the form, fire off a post in jquery and
close the popup, refresh the
Thanks for your reply Greg.
If I had to close the pop up , your solution might work. But I should not
close the pop up on submit. That is why I want to do that in Ajax.
How can $load pick form which is not on the page. However I am able to
display form.
I need to know how to submit this form in
i use a single method, add/edit even if is user or admin,
the difference between add/edit is that on edit you have the ID set, or in
parameter or in $this-data
admin_editpost($id = null){
if(is_null($id){
//something
}
}
i guess you understand
vineri, 3 august 2012,
Yes, I understand what you are doing :)
Have a couple of those myself..
But my question is (perhaps not clear enough), the best practice for a
function like add and edit.
I am thinking about:
if ($this-request-is('post')) {
$this-User-set($this-request-data);
if ($this-User-validates()) {
for starters, take out the validation redundancy
why setting the errors to the view? also not necessary
also, in 2.x your __() looks differently (arguments usually are not true
but replacement strings)
why dont you use baking? it would display a better output than you
currently have
Am
Hi Mark..
- Setting validation errors to view to display them in an element = You
need to correct: Error message 1, Error message 2, Error message 3 = Need
it ;)
- __('some text', true) = For translation strings, not sure why I started
to use the TRUE, but I think it is because of not beeing
Validation redundancy. When save is called, the data passed to it in
the first parameter is validated using CakePHP validation mechanism.
Read more on Models - Saving your data.
Also, the validation errors are already available to the view so no
need to set them. Try bake and see what it does to
Set debug to 2. Cake sends a generic 404 when there's an error when
debug is disabled.
On Fri, Aug 3, 2012 at 3:23 PM, Almog Koren al...@almogdesign.net wrote:
Hi everyone,
I'm upgrading a baked application from 1.3 to 2.2.1 and I'm running
into some issue with the routes, in short its not
Thanks for your help , i think writting a pear db datasource is a good
option.
On Fri, May 18, 2012 at 4:11 AM, AD7six andydawso...@gmail.com wrote:
Ok, I wanted to be sure you weren't trying to use the PEAR lib with a db
that is already well supported.
I know nothing about the status of
Ok, I wanted to be sure you weren't trying to use the PEAR lib with a db
that is already well supported.
I know nothing about the status of any mssql dbo driver - but there are
also numerous references pointing at:
On Wednesday, 16 May 2012 06:37:53 UTC+2, abhikakade wrote:
Hi All
I there any way to use cakephp 2.X with PEAR:DB drivers ? i have
checked old cake version supports pear connection but not the latest
one.. is there any native drivers available to connect with PEAR:DB
class ?
Why
I am using PHP 5.2 + Mssql 2008 + Linux Server and Cake 2.1.2, latest
version of cake only Sqlsrv drivers that does not work on Linux box.
Because lack of php_mssql drivers in cake i have to use PEAR:DB
drivers with cakephp, also i want strong support for store procedure
calls
that cake in built
You can use configuration files. Check this gist:
https://gist.github.com/1978200
On Saturday, March 3, 2012 5:41:42 PM UTC+1, U-Zyn Chua wrote:
Hello,
I've been a long time user of CakePHP (since pre v1) but have only
recently checked out CakePHP 2.x.
I'm writing a plugin for CakePHP
of course,
View::fetch() is available since 2.1, but you have 2.0.5
use $content_for_layout instead
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2012/1/16 Anna P apad...@o2.pl
Hello.
I'm starting to build an app on CakePHP 2.x - I have been using
version 1.2 since now.
I downloaded
Thanks very much.
I've checked Cookbook again - of course I didn't notice a key
information which is: New in version 2.1. :
On 16 Sty, 17:01, Tilen Majerle tilen.maje...@gmail.com wrote:
of course,
View::fetch() is available since 2.1, but you have 2.0.5
use $content_for_layout instead
--
On Dec 21, 11:56 pm, Ucha19871 ucha19871...@yahoo.com wrote:
ooh thx.. I know this documentation,but .. do you have a PDF version
of this documentation .. or .CHM file..
so i can use it locally, without Internet..
The source is here, it is quite trivial to build for local use:
@ M Kaufman: What about one with a 42u rack in his random location
without Internet, operating quite securely, and avoiding theft or
notice?
Nice example^^ Must be sth pretty important you are programming.
you could simply use two computers then instead of making yourself the
most isolated human
On Dec 22, 5:38 am, M Kaufman (Gmail) mkfmn...@gmail.com wrote:
What about one with a 42u rack in his random location without Internet,
operating quite securely, and avoiding theft or notice?
I'm exactly in that situation ... I don't what to be distracted while
I studding...
AD7six -
I guess studding would get in the way of programming. At least for me it does
anyway.
On 22 Dec 2011, at 12:58:17, Ucha19871 wrote:
On Dec 22, 5:38 am, M Kaufman (Gmail) mkfmn...@gmail.com wrote:
What about one with a 42u rack in his random location without Internet,
operating quite
I'm a newbie too :)
http://book.cakephp.org/2.0/en/
Regards,
Tim
On Wed, Dec 21, 2011 at 2:49 PM, Ucha19871 ucha19871...@yahoo.com wrote:
Hello, I am new in CakePHP and what to know, when will be CakePHP 2.x
book available ?
Can you give me links for the new (2.0) book pleas ?
--
Our
http://book.cakephp.org/2.0/en/
here we are :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/12/21 Ucha19871 ucha19871...@yahoo.com
Hello, I am new in CakePHP and what to know, when will be CakePHP 2.x
book available ?
Can you give me links for the new (2.0) book pleas ?
--
Our
ooh thx.. I know this documentation,but .. do you have a PDF version
of this documentation .. or .CHM file..
so i can use it locally, without Internet..
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
a (web)programmer that doesnt have internet? :)
On 21 Dez., 23:56, Ucha19871 ucha19871...@yahoo.com wrote:
ooh thx.. I know this documentation,but .. do you have a PDF version
of this documentation .. or .CHM file..
so i can use it locally, without Internet..
--
Our newest site for the
What about one with a 42u rack in his random location without Internet,
operating quite securely, and avoiding theft or notice?
Sent from my iPhone
On Dec 21, 2011, at 4:50 PM, euromark dereurom...@googlemail.com wrote:
a (web)programmer that doesnt have internet? :)
On 21 Dez., 23:56,
If a tree falls in a forest and no one is around to see it, do all of the
other trees make fun of it?
On Wed, Dec 21, 2011 at 7:38 PM, M Kaufman (Gmail) mkfmn...@gmail.comwrote:
What about one with a 42u rack in his random location without Internet,
operating quite securely, and avoiding
44 matches
Mail list logo