# |
Apr 26th 2017, 06:03 |
joshuaso91 |
Awesome |
# |
Apr 26th 2017, 06:03 |
digitalfotografen |
Yes @joshuaso91 |
# |
Apr 26th 2017, 06:01 |
joshuaso91 |
is this the CakePHP site where i can ask questions? |
# |
Apr 26th 2017, 06:00 |
joshuaso91 |
hey guys |
# |
Apr 26th 2017, 03:52 |
rchavik |
i think so, you can use ShadowTranslate plugin to avoid that |
# |
Apr 26th 2017, 03:44 |
davinci |
in cake 3, do translations still get pulled one join per field? |
# |
Apr 26th 2017, 01:26 |
jeremyharris |
np! |
# |
Apr 26th 2017, 01:26 |
rrueco |
@jeremyharris Ah. ok sir. Thank you |
# |
Apr 26th 2017, 01:19 |
jeremyharris |
it can be disabled similar to JS validation |
# |
Apr 26th 2017, 01:18 |
jeremyharris |
if a user disables html validation then they will be able to enter anything if you don’t have model validation |
# |
Apr 26th 2017, 01:16 |
rrueco |
@jeremyharris yes. Are there no issues about it sir? I will not use validation in model |
# |
Apr 26th 2017, 01:16 |
jeremyharris |
@rrueco you can use type=email and if the validation is required there will be the html5 validation by default |
# |
Apr 26th 2017, 01:11 |
rrueco |
is it ok to validate a form in view? like setting the type=email, etc. ? |
# |
Apr 26th 2017, 00:49 |
elcms |
Good night everyone ! |
# |
Apr 26th 2017, 00:35 |
elcms |
maybe a kind of mindmap... |
# |
Apr 26th 2017, 00:34 |
elcms |
some kind of graph with nodes; clicking on the nodes displaying some branches... |
# |
Apr 26th 2017, 00:31 |
elcms |
maybe we can do something more appealing then |
# |
Apr 26th 2017, 00:31 |
jeremyharris |
yeah when I was starting with cake 3 the request entity diagram was a godsend |
# |
Apr 26th 2017, 00:31 |
elcms |
:D |
# |
Apr 26th 2017, 00:31 |
dereuromark |
that was the idea of my app, all missing was to make it look nice with shiney graphics like yours :slightly_smiling_face: |
# |
Apr 26th 2017, 00:30 |
elcms |
@jeremyharris That would be a big help for newcomers to understand what's going on, and when stuff should be done |
# |
Apr 26th 2017, 00:27 |
jeremyharris |
elcms I like the idea. I wonder if just adding charts similar to the figure for request -> entity would be nice in the docs (https://book.cakephp.org/3.0/en/orm/saving-data.html#converting-request-data-into-entities) |
# |
Apr 26th 2017, 00:24 |
elcms |
@dereuromark, sure :) but for a quick reminder, it may be a bit overkill ;) |
# |
Apr 26th 2017, 00:23 |
dereuromark |
nothing goes over some real data |
# |
Apr 26th 2017, 00:21 |
elcms |
@dereuromark and for the content, it's wonderful ! |
# |
Apr 26th 2017, 00:20 |
elcms |
autocompletion to slack... :) |
# |
Apr 26th 2017, 00:19 |
elcms |
*@dereuromark |
# |
Apr 26th 2017, 00:19 |
elcms |
@deuromark Thank you for the link :) |
# |
Apr 26th 2017, 00:19 |
dereuromark |
elcms tip: https://github.com/dereuromark/executionorder |
# |
Apr 26th 2017, 00:16 |
elcms |
the goal is to provide a visual chain of the available events... |
# |
Apr 26th 2017, 00:15 |
elcms |
and a repo has been started here : https://github.com/el-cms/cakephp-events-timeline |
# |
Apr 26th 2017, 00:14 |
elcms |
A preview for an "index" request is available here : https://codepen.io/mtancoigne/pen/dWOJqj |
# |
Apr 26th 2017, 00:14 |
elcms |
I started a cheatsheet for CakePHP events; i'm searching for motivated people to help me in this... |
# |
Apr 26th 2017, 00:12 |
elcms |
Hi ! |
# |
Apr 25th 2017, 23:18 |
jeremyharris |
@cpierce see: https://book.cakephp.org/3.0/en/views/helpers/form.html#adding-additional-template-variables-to-templates |
# |
Apr 25th 2017, 23:16 |
jeremyharris |
@cpierce I know it’s been a while, but usually what I do is `class="my-class {{class}}"` in the template, then set the class var with `'templateVars' => ['class' => 'other-class']` |
# |
Apr 25th 2017, 21:21 |
cpierce |
if i'm using a template how can I use class="something" and still put the class that is passed ot it in as well? |
# |
Apr 25th 2017, 21:12 |
losted |
hehe |
# |
Apr 25th 2017, 21:11 |
jeremyharris |
oh man these cake 2 docs take me back |
# |
Apr 25th 2017, 21:10 |
jeremyharris |
losted so Credit belongsTo User hasOne UserProfile, so perhaps `'contain' => ['User.UserProfile']`, see: https://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html#containing-deeper-associations |
# |
Apr 25th 2017, 21:07 |
jeremyharris |
I think my relationship are fixed now but I'm still unsure how to use the "contain" to fetch my UserProfile From the Credit find() ? |