You always have to return true from Model::beforeSave for the save to
happen ;-)
--~--~-~--~~~---~--~~
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
We save sets of configuration data into a config table, and pull it
out from the db, or from cache before passing to Configure::write at
the start of the app load.
No pre made solutions for this one!
HTH,
Paul.
On Jul 1, 10:55 pm, CMNAJS cmn...@gmail.com wrote:
how can i manage configuration
You could, or even better
$ThisIsMyModelINstance = ClassRegistry::init('ThisIsMyModel');
On Jul 1, 10:59 pm, CMNAJS cmn...@gmail.com wrote:
how can i load model in components.. in cakephp 1.2.x.x. should i use
App::import('Model', 'modelname') ???
Yer, strange on those images - cake's htaccess will only catch
requests to non existent files / dirs.
As for the prev next links showing up - thats by design, you can
soon enough hide them with css ( take a look they have a class set
disabled ),
Not sure off the top of my head if there is
On Jul 1, 4:15 pm, Paul Webster s...@webprogression.co.nz wrote:
We save sets of configuration data into a config table, and pull it
out from the db, or from cache before passing to Configure::write at
the start of the app load.
No pre made solutions for this one!
HTH,
Paul
We do that very thingy by wrapping the standard, often repeated email
code in another component that uses the Email component,
Then you just have to do something along the lines of [in your
controller]:
var $component = array('Notify' = array('email config params'));
$this-Notify-send('all
.
I noticed on the actual buggy hosting service that mysqli isn't there.
Could it be related with the paginator issue?
On 1 Lug, 13:21, Paul Webster s...@webprogression.co.nz wrote:
Yer, strange on those images - cake's htaccess will only catch
requests to non existent files / dirs
Oh where to begin...
most of the points made so far have been very valid, you ideally
should optimizing your application by unbinding unused models etc,
only loading those you need, and since you have the overhead of using
the framework, again ideally, use your models(and the framework as a
I tried to do something very similar not so long ago, and too had trouble
getting it to do as I wanted.
In the end not having time to pursue it further I did just sort after the
query was made, as far as I could tell due to the way habtm's are querried
it wasn't a simple case of altering the
Can you just not use absolute urls? /img/swf/menu.swf
Or if they need to be configurable pass them in as flash vars or xml?
There are plenty of quick web tut's out there showing how to do such things.
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On
Ive deployed half a dozen reasonable size sites with 1.2 and a handful of
smaller sites utilising a basic cms built on 1.2 also. All without any
hiccups, there was the initial worry, but I've never looked back since
craning up the beast that is 1.2, it was just too good to wait round not
using
Using request action?
?php echo $this-requestAction('/controllerName/ipcheck/100.0.0.1');?
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Saeedo
Sent: Monday, 3 September 2007 2:07 a.m.
To: Cake PHP
Subject: invoking controller function from
Just yesturday I was wantiong a good solution to this same type of
situation. Not wanting to filter / order etc in my views I quickly whipped
up a small find funtcion implemented in my app_model.
I'm sure there is possiobly a better implementation of this, but for now it
is what it is. I
This is what your after:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410sliceId=2
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 30 August 2007 8:35 a.m.
To: Cake PHP
Subject: getting
I have a project with various areas accessible and only accessible via
certain domains sub domains etc. This was fine as it was a pretty simple
site just providing information with no need for logins etc, but of
course the site has currently evolved and now will be providing some
user options and
Of John David Anderson (_psychic_)
Sent: Tuesday, 8 May 2007 8:55 a.m.
To: cake-php@googlegroups.com
Subject: Re: Persisting Session Across Domains
On May 7, 2007, at 2:08 PM, Paul Webster wrote:
I have a project with various areas accessible and only accessible via
certain domains sub domains
:[EMAIL PROTECTED] On
Behalf Of Martin Schapendonk
Sent: Friday, 20 April 2007 10:19 p.m.
To: cake-php@googlegroups.com
Subject: Re: Silly HTTPS quesiton...
2007/4/20, Paul Webster [EMAIL PROTECTED]:
Like I said, this may not be the best practice way to do it, but to
me
it did it good enough given
Jolly Good question that, one I have just these last few weeks had to
tackle. I searched around a bit on the subject and came up with a few
articles - none of which really did exactly what I wanted, and I figured
it just had to be easy than this.
So in my webroot htaccess I added the following
18 matches
Mail list logo