On Oct 29, 2011, at 00:11, Thiago Belem wrote:
> There's something wrong with this post:
> http://bakery.cakephp.org/articles/peterms/2011/08/11/validation_is_match_cakephp
>
> Or it's just me?
I agree, it contains spam links. I logged in and clicked the "Report problem"
link on the right of
On Oct 26, 2011, at 01:25, Shanaka wrote:
> I'm creating a web application using cakephp 1.2.6.
Why would you use 1.2.x to create a new web app, and not 2.0? Even using 1.3.x
would be better but I don't see why you wouldn't start with the latest and
greatest. Converting your app later to use
There's something wrong with this post:
http://bakery.cakephp.org/articles/peterms/2011/08/11/validation_is_match_cakephp
Or it's just me?
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.we
On Sat, Oct 29, 2011 at 12:13 AM, Miles J wrote:
> I wrote many installers for Cake and I would highly suggest doing a
> shell script.
>
> https://github.com/milesj/cake-forum/blob/master/vendors/shells/install.php
>
On Oct 28, 7:31 am, Andras Kende wrote:
> > http://cakebaker.42dh.com/2007/04/
Hello All,
I'm getting a weird error here, see I have the following find
statement
$cond1 = $this->Company->find('all',
'conditions' =>
array('Company.Departement_dactivite_limitrophes' => $department),
https://github.com/jrbasso/MeioUpload
All plugin for 2.0 seems not stable .. You try to fix it.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questi
https://github.com/jrbasso/MeioUpload
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-p
Hello,
I was curious if there are any recommendations for CakePHP v2.0
plugins for uploading, resizing images to the server. I looked at some
of the implementations like Uploader and Media Plugins but encountered
problems with them. It could be that they were written for v1.3
It would be great
Hi Sebastien,
please read
http://book.cakephp.org/2.0/en/contributing/code.html
to find out how you can contribute patches.
Am 28.10.2011 15:30, schrieb Sandreu:
> Hello,
>
> I made an increment for file engine system.
> My problem was that in APC cache, the cache is not shared between CLI
> and
If anyone else has problems with getting an Aro node lookup error
after manually logging in a user you might check the array that you
use to login with.
As in the example in the cookbook, the user gets logged in with the
array of submitted data from the login form in the format:
$this->request->d
a linux machine (Ubuntu 11.04). I
>>>>> got the database connection to work fine, tmp is readable/writable, etc.
>>>>>
>>>>> But there is still no CSS in the default cake page. I looked at what
>>>>> the book said and I'm pretty sure t
hat I set the correct settings, but no
>>>> go. Here is my httpd.conf:
>>>> <http://bin.cakephp.org/view/914367831>
>>>> http://bin.cakephp.org/view/914367831
>>>>
>>>>
>>>> --
>>>> Our newest site for the com
cakephp.org>http://tv.cakephp.org
>>> Check out the new CakePHP Questions site <http://ask.cakephp.org>
>>> http://ask.cakephp.org and help others with their CakePHP related
>>> questions.
>>>
>>>
>>> To unsubscribe from this group, send
I wrote many installers for Cake and I would highly suggest doing a
shell script.
https://github.com/milesj/cake-forum/blob/master/vendors/shells/install.php
On Oct 28, 7:31 am, Andras Kende wrote:
> http://cakebaker.42dh.com/2007/04/16/writing-an-installer-for-your-ca...
>
> Andras Kende
>
> On
Just did some testing. It worked for a rule 'notempty' but is ignored for the
rule 'unique' (or isUnique).
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 28 Oct 2011, at 16:43, Richard@Home wrote:
> Shamless bump!
>
> On Oct 24, 3:44 pm, "Richard@Home" wrote:
>> Hi all.
>>
>> I hav
Was that on line 350? If so, I just tried that and it didn't work. Yes, I
restarted apache after making the change.
On Fri, Oct 28, 2011 at 12:39 PM, Thiago Belem wrote:
> Maybe your
>
> AllowOverride None
>
> ?
> --
> ***Thiago Belem*
> Desenvolvedor
> Rio de Janeiro - RJ - Brasil
>
> +55 (21)
Maybe your
AllowOverride None
?
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt*
Assando Sites*, curso de CakePHP *»* assando-sites.com
If you look at line #120 in my post of httpd.conf, it's displayed there.
And here is the contents of my /opt/lampp/modules directory:
http://bin.cakephp.org/view/1838304409 <- on line 64
On Fri, Oct 28, 2011 at 10:42 AM, Yves S. Garret wrote:
> Ok, so I'm trying to setup cake on a linux machi
This was a bug that is resolved in the latest version on github. See
the ticket for more information.
On Oct 28, 10:22 am, handsofaten wrote:
> I went ahead and submitted a ticket for this, I guess I'll stop using
> FormHelper for these fields until I get some resolution on this issue.
>
> http:/
Have you installed and enabled mod_rewrite ?
On 28 Oct 2011, at 15:42, "Yves S. Garret" wrote:
> Ok, so I'm trying to setup cake on a linux machine (Ubuntu 11.04). I got the
> database connection to work fine, tmp is readable/writable, etc.
>
> But there is still no CSS in the default cake p
Shamless bump!
On Oct 24, 3:44 pm, "Richard@Home" wrote:
> Hi all.
>
> I have the following $validate in my User model:
>
> var $validate = array(
> 'email'=>array(
> 'required'=>array(
> 'rule'=>'notEmpty',
>
thanks it works now just fine thank you
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake
I went ahead and submitted a ticket for this, I guess I'll stop using
FormHelper for these fields until I get some resolution on this issue.
http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/2180-formhelper-not-creating-sequential-associated-model-fields
On Oct 21, 11:27 am, handsof
Html::scriptStart can't use when requestAction in 2.0
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send
Hello,
I made an increment for file engine system.
My problem was that in APC cache, the cache is not shared between CLI
and the web app... then I did that with fileEngine using flock... it's
not workink on windows.
settings['isWindows']) throw new
CacheException(__d('cake_dev', 'Files cannot
Ok, so I'm trying to setup cake on a linux machine (Ubuntu 11.04). I got
the database connection to work fine, tmp is readable/writable, etc.
But there is still no CSS in the default cake page. I looked at what the
book said and I'm pretty sure that I set the correct settings, but no go.
Here is
http://cakebaker.42dh.com/2007/04/16/writing-an-installer-for-your-cakephp-application/
Andras Kende
On Oct 28, 2011, at 8:59 AM, thom wrote:
> On Fri, Oct 28, 2011 at 5:39 PM, Simon Males wrote:
> Croogo has an installer, and its an open source CMS.
>
> http://croogo.org/
>
> Haven't only lo
I'm having trouble with the cookbook's acl app. I followed the
tutorial EXACTLY and after assigning permissions, I can't access any
of the acl protected (not explicitly allowed in beforeFilter) actions
when logged in with a user that belongs to group 1 in the initDB
method.
Is there a piece missin
On Fri, Oct 28, 2011 at 5:39 PM, Simon Males wrote:
> Croogo has an installer, and its an open source CMS.
>
> http://croogo.org/
>
> Haven't only looked at it briefly the installer seems to be a plugin.
>
>
Hmm.. looks like complex enough in croogo. Are there any 'easy' (simple) way
to do it? I
I don't know if this can be done with HABTM (doubt it as HABTM is an
automagic feature meant to join two tables only) but I for one would
modelise the join and have something like:
Staff hasMany PositionSchoolStaff
School hasMany PositionSchoolStaff
Position hasMany PositionSchoolStaff
PositionSch
should only happen if target="_blank" have you got a link to the page
so we can test it?
On Oct 28, 3:46 am, iphone5 wrote:
> I am developing web app with cakephp. Recently I noticed that whenever
> I click on the link on a page it activate another window for some
> reason.
> It looks ok but when
Thanks for the time and ideas. I continue working on both methods.
On Fri, Oct 28, 2011 at 1:47 PM, AD7six wrote:
>
>
> On Oct 28, 12:37 pm, "Constantin.FF" wrote:
> > Probably this could work but will be almost impossible to calculate
> > the step for moveDown
>
> _WHY_ would you need to calcu
On Oct 28, 12:37 pm, "Constantin.FF" wrote:
> Probably this could work but will be almost impossible to calculate
> the step for moveDown
_WHY_ would you need to calculate that? The suspicion arises that you
aren't reading much of what I write.
> of each post also in this action are involved
Croogo has an installer, and its an open source CMS.
http://croogo.org/
Haven't only looked at it briefly the installer seems to be a plugin.
On Fri, Oct 28, 2011 at 8:49 PM, thom wrote:
> I am curious about making my app to have a 'cms like' installer. I am using
> cakephp 1.3.8 for now. Could
Probably this could work but will be almost impossible to calculate
the step for moveDown of each post also in this action are involved
parents and children so in the $newSort each post is as post_id =>
order number. So if I do it like you suggested, first I will have to
separate posts with same pa
ah ok
and plugins are
cake testsuite Tools AllCakeTests
i found it here:
https://github.com/cakephp/docs/blob/master/en/development/testing.rst
On 28 Okt., 12:04, Matteo Landi wrote:
> Hi,
>
> I don't know about plugins but on my machine I am able to run app
> tests with `cake testsuite app Al
you probably mean "protected"
in a framework environment there is no reason to use private classes
or private variables.
tip:
look at 2.0
it does not have any private stuff (anymore).
protected _myMethod()
lg mark
On 28 Okt., 07:23, Jeremy Burns | Class Outfit
wrote:
> Calling a private funct
Hi,
I don't know about plugins but on my machine I am able to run app
tests with `cake testsuite app AllController' (supposed you have a
test inside 'app/Test/Case/AllControllerTest'), or `cake testsuite app
Case/PostsController' (supposed you have
'app/Test/Case/Controller/PostsControllerTest').
how can one run tests from the command line?
the core tests are listed with
cake testsuite core
so far so good
but the app tests do not show
especially tests in a plugin I cannot get to list or call
cake testsuite app Tools.AllCakeTests
does not work
--
Our newest site for the community
I am curious about making my app to have a 'cms like' installer. I am using
cakephp 1.3.8 for now. Could anybody tell me any references for me to be
learned?
Thank you.
--
Regards,,,
thom
http://mynameisthom.blogspot.com
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.
On Oct 28, 11:16 am, Constantin FF wrote:
> Is there a better way for doing that? There is something similar in other
I haven't written anything that implied/suggested/required changing
your existing interface, only your php code.
function _sortPosts($newSort){
Is there a better way for doing that? There is something similar in other
CSM like joomla
On Fri, Oct 28, 2011 at 12:11 PM, AD7six wrote:
>
>
> On Oct 28, 10:58 am, Constantin FF wrote:
> > Not a deja vu, just decided that will be much more comfortable to use a
> > field with an order number an
On Oct 28, 10:58 am, Constantin FF wrote:
> Not a deja vu, just decided that will be much more comfortable to use a
> field with an order number and just once to click "Save order" than
> continuously clicking the moveDown or moveUp links until the desired
> position.
Who suggested doing that?
Hi Jeremy,
As far as I know, the core ACL does not support multiple groups per
user.
Before using ACL, I used myself a home made component that allowed to
grant/deny access based on roles membership and action prefixes like
you do. It used to work :-) and it also supported many-to-many users-
gro
Not a deja vu, just decided that will be much more comfortable to use a
field with an order number and just once to click "Save order" than
continuously clicking the moveDown or moveUp links until the desired
position.
Will check the queries
On Fri, Oct 28, 2011 at 11:46 AM, AD7six wrote:
>
>
>
On Oct 28, 6:50 am, Thiago Campezzi wrote:
> Hi everyone,
>
> I was taking a look at the documentation for the test suite in CakePHP
> 2.0 - more specifically the part about testing controller code:
>
> http://book.cakephp.org/2.0/en/development/testing.html#testing-contr...
>
> The code example
On Oct 28, 10:09 am, "Constantin.FF" wrote:
> I need my tree sorted by each post sort value. Here is the function
> dealing with this. But it is executed extremely slow if some of the
> parents has more than 20-30 children
>
> function _sortPosts($newSort){
> fore
I need my tree sorted by each post sort value. Here is the function
dealing with this. But it is executed extremely slow if some of the
parents has more than 20-30 children
function _sortPosts($newSort){
foreach ($newSort AS $id => $value) {
On Oct 27, 7:51 pm, santos wrote:
> Resolved! :)
> Thanks!
>
> My solution:
> I create /vendors/shells/myextract.php :
>
> class MyextractShell extends Shell {
> var $tasks = array('Extract', 'Myextract');
>
> function main() {
> $this->Myextract->execute();
>
Hi everyone,
I was taking a look at the documentation for the test suite in CakePHP
2.0 - more specifically the part about testing controller code:
http://book.cakephp.org/2.0/en/development/testing.html#testing-controllers
The code example provided in this heading doesn't include the "public
$f
50 matches
Mail list logo