Re: Best IDE for CakePHP 2.1

2012-04-20 Thread Kirk
i LOVE phpstorm :-) i haven't actually set everything up for the most ideal cake experience yet though i've had this page bookmarked for whenever i feel like getting around to it: http://hwarf.com/blog/2011/08/24/configure-phpstorm-to-auto-complete-cakephp-models-and-controllers/ On Thu, Apr 19,

Re: CakePHP 1.3.11 and 2.0.0-beta released

2011-07-26 Thread Kirk
! ~Kirk On Tue, Jul 26, 2011 at 4:03 PM, José Lorenzo wrote: > The CakePHP core team is proud to announce the immediate availability of > CakePHP 1.3.11 and 2.0.0-beta. 1.3.11 is a bugfix/maintenance release for > the the 1.3 branch. 2.0.0-beta marks the beginning of API stabilization an

Re: CakeFest 2010 - Last chance for cheap tickets!

2010-07-23 Thread Kirk
Free iPad?! It sounds like spam but it's not! :-) On Fri, Jul 23, 2010 at 1:40 PM, mike karthauser wrote: > hi graham > on the cakefest site it says 1st of august for the end of the early bird > tickets. > > http://cakefest.org/ticket-info > > seems a bit cruel having cut off today when its it lo

Re: ACL problem

2010-07-22 Thread Kirk
i don't know, but this guy said don't use acl for non-record-level permissions: http://groups.google.com/group/cake-php/msg/581096ef10896eea On Thu, Jul 22, 2010 at 7:02 AM, Ambika Kulkarni wrote: > > I am not understanding how to use aros table... > > how to add data in acos, aros and aros_acos

Re: let users 'edit' database

2010-07-22 Thread Kirk
serialized version is that it could be implemented without changing any of the existing tables, and you could set arbitrary revisions (like "restore" points, forgive the microsoft reference). On Thu, Jul 22, 2010 at 10:49 AM, mattmoy...@gmail.com wrote: > great idea kirk, that wou

Re: let users 'edit' database

2010-07-21 Thread Kirk
Some guy submitted a "multiple undo" type thing to the bakery. I thought it was kinda clunky, but it gave me an idea for an improvement, which could also be applied to your situation. Create a table for pending changes, and save all submitted changes to that table in serialized form. Then you can j

Re: Unicode problem between controller and view

2010-07-20 Thread Kirk
; > On Tue, Jul 20, 2010 at 7:15 PM, Kirk wrote: > >> i found the solution here: >> http://www.jotlab.com/2009/03/03/cakephp-utf-8/ >> >> all you have to do is add 'encoding' => 'UTF8' to database.php >> >> doh! >> >> >&

Re: Unicode problem between controller and view

2010-07-20 Thread Kirk
i found the solution here: http://www.jotlab.com/2009/03/03/cakephp-utf-8/ all you have to do is add 'encoding' => 'UTF8' to database.php doh! On Tue, Jul 20, 2010 at 6:59 PM, Kirk wrote: > And the plot thickens... > > If I change the character encoding in c

Re: Unicode problem between controller and view

2010-07-20 Thread Kirk
O-8859-1 (or Windows-1252?) encoding while saying that it's using UTF-8. How frustrating! On Tue, Jul 20, 2010 at 6:17 PM, Kirk wrote: > As an extra piece of information, if I specify the escape option > as 'ISO-8859-1' in the link method of the html helper ( > http:

Re: Unicode problem between controller and view

2010-07-20 Thread Kirk
ng Windows, btw) On Tue, Jul 20, 2010 at 5:37 PM, Kirk wrote: > I thought someone here may have some experience with this. I fetch utf-8 > data from a mysql db using: > > $this->data = find('all',$options); > > From within the controller, if I debug($this->data)

Unicode problem between controller and view

2010-07-20 Thread Kirk
) The non-ascii characters don't show up correctly. I can't figure out why this is happening. In my core.php, I have the following option: Configure::write('App.encoding', 'UTF-8'); I'm not sure what else I need to check. Any help would be greatly

Re: Tree Reorder: What Does it Do?

2010-07-16 Thread Kirk
ated with the correct values so 'generatetreelist' will work > correctly? > > Thanks. > > > On Jul 16, 8:37 am, Kirk wrote: > > Why are you editing the 1.2 documentation instead of 1.3? I submitted a > more > > complete documentation of the reorder function a wee

Re: Tree Reorder: What Does it Do?

2010-07-16 Thread Kirk
field, which is default, and it worked fine. You just call $model->reorder(). It's supposed to take an id as a parameter as well, but I got an error when I tried to pass an id. ~Kirk On Fri, Jul 16, 2010 at 8:30 AM, DragonFlyEye wrote: > Ok, for those who happen upon this thread looking

Re: cakeDC Tag Plugin Delete issue

2010-07-15 Thread Kirk
I think I know what the problem is. It just occurred to me that all you have to do is add a condition in the $hasAndBelongsToMany relationship in the model to ensure that both the foreign key and the model are matched in the Tagged table. This way you can avoid the custom query hack. ~Kirk On

Re: cakeDC Tag Plugin Delete issue

2010-07-14 Thread Kirk
perhaps the problem is that the Taggable behavior has no beforeDelete callback On Wed, Jul 14, 2010 at 2:45 AM, abocanegra wrote: > I solved it, You can check out the code on my blog > > http://www.whatartist.com/blog/2010/07/making-cakedc-tags-plugin-delete-by-model-only/ > > On Jul 8, 4:35 am,

Re: Fatal error: Allowed memory size of 16777216 bytes exhausted

2010-07-14 Thread Kirk
hat else, i managed to reduce memory use by about 0.6mb, but so far no more than that. ~Kirk On Tue, Jul 13, 2010 at 8:02 AM, Jeremy Burns | Class Outfit < jeremybu...@classoutfit.com> wrote: > I'd also check your model associations and controller code to check that > you are