# |
Jul 7th 2017, 13:48 |
devito |
is there a way to inspect the sql generated by a pagination query? |
# |
Jul 7th 2017, 13:40 |
akkaweb |
:+1: Yeah, It seemed great, but I foresee a multitude of issues. I will rethink it and change the approach |
# |
Jul 7th 2017, 13:37 |
admad |
i would suggest a rethink :slightly_smiling_face: |
# |
Jul 7th 2017, 13:37 |
akkaweb |
@admad So I was hoping CakePHP helpers would provide events that I could listen to, ie afterFormStart / beforeFormEnd. I dunno, perhpas this is far fetched and I should rethink the approach |
# |
Jul 7th 2017, 13:35 |
dereuromark |
dunno |
# |
Jul 7th 2017, 13:34 |
neon1024 |
Hey @dereuromark should this really be a bitwise data type class? https://github.com/dereuromark/cakephp-tools/blob/master/src/Model/Behavior/BitmaskedBehavior.php#L126 |
# |
Jul 7th 2017, 13:34 |
akkaweb |
@admad Rethinking it, maybe it is not such a great idea. Researching phase :) I am working on the backend of an application I am creating and I wanted to be able to create a plugin that inserts 2 - 3 inputs to the Add/Edit form for a specific model/entity. Ultimately, I would use behavior to catch those fields and save them in a separate table connected by Id. |
# |
Jul 7th 2017, 13:27 |
admad |
@akkaweb what exactly are you trying to do? |
# |
Jul 7th 2017, 13:26 |
matija.baskarad |
Screw me. Admin routing with cakedc/user is fd up... :) |
# |
Jul 7th 2017, 13:26 |
akkaweb |
@inoas Thanks for the info! I will take a closer look and try these |
# |
Jul 7th 2017, 13:25 |
inoas |
Ref https://bakery.cakephp.org/2017/06/23/upcoming-cakephp-roadmap.html : "In addition to the breaking changes being made, we’d also like to use 4.0 as an opportunity to refine and improve our error messages with the goals of providing a better development experience. As users of Rust and Elm we see what can be done with error messages and want to bring the quality of error messages available in those tools to PHP." <3 <3 <3 |
# |
Jul 7th 2017, 13:22 |
inoas |
https://api.cakephp.org/3.4/source-class-Cake.Http.ServerRequest.html#1796-1812 |
# |
Jul 7th 2017, 13:22 |
inoas |
can't find withData() in the book tbh |
# |
Jul 7th 2017, 13:21 |
inoas |
akkaweb through formhelper, and maybe through $this->request->getData and possibly withData() |
# |
Jul 7th 2017, 13:21 |
admad |
good to know |
# |
Jul 7th 2017, 13:21 |
matija.baskarad |
Trying to create my own cake base/template. Using `cakephp-adminlte-theme` for the backend |
# |
Jul 7th 2017, 13:20 |
steinkel |
@admad yes |
# |
Jul 7th 2017, 13:20 |
steinkel |
@matija.baskarad you have some docs here https://github.com/CakeDC/auth/blob/master/Docs/Documentation/SimpleRbacAuthorize.md describing how to define permissions by prefix |
# |
Jul 7th 2017, 13:19 |
matija.baskarad |
From https://github.com/CakeDC/users `3.4+ master 5.0.3 stable` |
# |
Jul 7th 2017, 13:19 |
inoas |
slaps admad in a gentle way (not to make him mad"er" ;-) |
# |
Jul 7th 2017, 13:19 |
akkaweb |
Does CakePHP forms implement any kind of events? If not, is it possible to inject content into forms? |
# |
Jul 7th 2017, 13:19 |
admad |
@steinkel is cakedc running on 3.4 ? |
# |
Jul 7th 2017, 13:18 |
eBugg |
when I use 'conditions' in a find, like 'conditions' => ['Table.id' => $array] is there a way I can keep cakephp from quoting the elements of $array ? |
# |
Jul 7th 2017, 13:18 |
inoas |
I am using CakeDC/Enum <3 ;-) |
# |
Jul 7th 2017, 13:18 |
matija.baskarad |
okay, yes, users plugin from CakeDC |
# |
Jul 7th 2017, 13:18 |
inoas |
/renameto admad admadder |
# |
Jul 7th 2017, 13:18 |
inoas |
makes admad a bit madder ;-) |
# |
Jul 7th 2017, 13:18 |
steinkel |
users I guess |
# |
Jul 7th 2017, 13:18 |
inoas |
matija ... what plugin ? there is no "cakedc" |
# |
Jul 7th 2017, 13:18 |
dereuromark |
o_O |
# |
Jul 7th 2017, 13:18 |
admad |
I am mad |
# |
Jul 7th 2017, 13:18 |
matija.baskarad |
Alrighty then.. :) I am trying to get cakedc running on my cake 3.4 app. So fine so good, but how do I manage permissions for Admin routing? |
# |
Jul 7th 2017, 13:17 |
inoas |
I am good with my kid |
# |
Jul 7th 2017, 13:17 |
dereuromark |
I am good with Lenovo |
# |
Jul 7th 2017, 13:17 |
steinkel |
I'm good with CakeDC :P |
# |
Jul 7th 2017, 13:16 |
matija.baskarad |
Hi @ all. Anyone here who's good with CakeDC with Cakephp 3.4? |
# |
Jul 7th 2017, 13:04 |
megan |
good suggestion inoas :slightly_smiling_face: |
# |
Jul 7th 2017, 13:01 |
inoas |
maybe adding the book, the api and the swag shop to the irc channels title is good? |
# |
Jul 7th 2017, 12:59 |
junichirojp |
@megan I see! Thanks reply. |
# |
Jul 7th 2017, 12:57 |
megan |
@junichirojp oh ok! - Buying from our swag store is also a way of donating to the project, all profits go directly back to the community http://swag.cakephp.org/ |
# |
Jul 7th 2017, 12:54 |
david_kim |
anybody who know using mongodb support plugin or any implementation code for cakephp orm? |