# |
Apr 29th 2017, 05:56 |
loginews |
where did you get the .1. ? from which documentation. I did not see that. |
# |
Apr 29th 2017, 05:54 |
metoyoko |
@loginews so far no answer. I figured it out that I need to encode inside form/template: $this->Form->control('cms_liquidations_details.1.category_id') instead of $this->Form->control('CmsLiquidationsDetails.1.category_id') and one thing there is no error prompted even in error.log shows empty. 2 days of trials and errors before I solved the problem. So It's so much appreciated if someonce share sample project that already used associatio |
# |
Apr 29th 2017, 05:45 |
loginews |
@metoyoko did anybody answer your question ? |
# |
Apr 29th 2017, 05:34 |
slackebot1 |
https://gist.github.com/loginews/78dbc099fe1689332c299002d361f472 Table param has only one record all the time. I want to edit the field ADDRESS1 (from param table) at the same time as the other fields in table users. I really don’t see how to do that. The docs are too complicated for me. |
# |
Apr 29th 2017, 05:34 |
loginews |
I would be very grateful if someone could help me out. I have already used CakePHP in 3 apps. I am slowly getting used to it. Whenever I am stuck, I can always go back to plain php to develop my application. I have no problem developing any app with plain php and mysql. So the problem is only with the learning the new language. I have a table users which I can edit successfully. See all the bits of codes here: |
# |
Apr 29th 2017, 05:34 |
loginews |
I have about the same difficulty as metoyoko |
# |
Apr 29th 2017, 05:10 |
backstageel |
Does the cakephp upgrade tool moves the prefixed actions to its own controller? |
# |
Apr 29th 2017, 03:34 |
metoyoko |
Where can I download working project that have hasMany and belongsToMany inside it. Thanks. |
# |
Apr 29th 2017, 03:28 |
metoyoko |
I Can't save using hasMany in cakephp 3. Is there any downloadable working cakephp 3 apps that has hasMany and belongsToMany inside it so I can figure out how to pass data from form to model. thanks |
# |
Apr 29th 2017, 03:25 |
metoyoko |
Good Day! |
# |
Apr 28th 2017, 20:28 |
graziel |
i find cake highly customizable as it gives you some basic things that you can follow but at the same time you might change almost every aspect of it |
# |
Apr 28th 2017, 20:28 |
graziel |
at start it might not have much sense but more and more you will use cake the more it will clear things up |
# |
Apr 28th 2017, 20:21 |
pc-world |
My first impression is that files like bootstrap.php which are over 200 lines in size should be part of the core if they are necessary, and not duplicated across every project built with Cake |
# |
Apr 28th 2017, 20:15 |
burzum |
In theory (never tried it) https://github.com/cakephp/app/blob/master/webroot/index.php this file should be enough. You can then start building whatever you want around it. ;) |
# |
Apr 28th 2017, 20:15 |
pc-world |
It doesn't really seem to be minimal, as the template includes SQL schemas (i18n.sql, sessions.ql), a sample test case, views, templates, CSS stuff etc. in webroot, can I delete all of that? |
# |
Apr 28th 2017, 20:13 |
burzum |
Nobody holds you off from creating all the other files, that you'll need in any case, manually if you prefer that. :slightly_smiling_face: |
# |
Apr 28th 2017, 20:12 |
temp1029 |
And btw, most of those 100 files are just placeholders for directories (about 50 I think) and then normal web front end stuff (CSS, images, etc) which don't affect your application logic |
# |
Apr 28th 2017, 20:10 |
dereuromark |
its as easy as that |
# |
Apr 28th 2017, 20:09 |
dereuromark |
no, follow the docs, copy stuff over to your repo and from there on no more updates to pull |
# |
Apr 28th 2017, 20:09 |
pc-world |
So what's the usual git workflow? Clone https://github.com/cakephp/app to be able to pull in updates? |
# |
Apr 28th 2017, 20:08 |
dereuromark |
dont care |
# |
Apr 28th 2017, 20:08 |
dereuromark |
dont are about it - just do your thing |
# |
Apr 28th 2017, 20:08 |
pc-world |
I'd like to know what each file in my project root is doing, and a template of over 100 files doesn't seem to be a good start |
# |
Apr 28th 2017, 20:08 |
dereuromark |
cakephp/app is minimal whats the problem with that? |
# |
Apr 28th 2017, 20:07 |
pc-world |
Isn't there a minimal template or something like that? |
# |
Apr 28th 2017, 20:07 |
pc-world |
Hello, I'm new to CakePHP. Am I really supposed to use a template of over 100 files to start developing an application?! https://github.com/cakephp/app |
# |
Apr 28th 2017, 19:24 |
btx |
@joop to explain a little, `?` *is* short tag syntax and needs to be enabled in the ini to work, and is generally not encouraged (because it’s not default) `<?=` is different and is the equivalent of `<?php echo ... ?` |
# |
Apr 28th 2017, 19:19 |
joop |
thanky you mate |
# |
Apr 28th 2017, 19:17 |
joop |
okey thank you its working now |
# |
Apr 28th 2017, 19:16 |
admad |
so don't use it and use <?php like i said |
# |
Apr 28th 2017, 19:13 |
joop |
its just write to the screen this text from"Form->.... " |
# |
Apr 28th 2017, 19:12 |
joop |
if i use this: <? if(condition) { echo $this->Form->postLink....... |
# |
Apr 28th 2017, 19:12 |
admad |
just use <?php if ().. |
# |
Apr 28th 2017, 19:12 |
admad |
<?= is short echo tag not short open tag |
# |
Apr 28th 2017, 19:11 |
joop |
i need <? if(statement){ $this->Form->postLink ............ |
# |
Apr 28th 2017, 19:11 |
joop |
<?= |
# |
Apr 28th 2017, 19:11 |
joop |
i haveing some issue with open short tag |
# |
Apr 28th 2017, 19:10 |
joop |
hello all |
# |
Apr 28th 2017, 17:52 |
chris-andre |
Contact your host and ask for ssh access |
# |
Apr 28th 2017, 16:35 |
Jay12 |
hmic, i am using a remote server, i do not access to ssh or composer, what do i do? |
# |
Apr 28th 2017, 16:25 |
hmic |
Jay12, you are missing the ICU module for php on your server. dont just copy the files all over. do "composer install" your app on the server! it will tell oyu what you are missing and refuse to install :p |