# |
Jul 21st 2018, 10:52 |
admad |
Sorry "valueField" option not displayField |
# |
Jul 21st 2018, 10:51 |
admad |
@ra7bi set up a virtual field in entity. Then specify that field name in "displayField" option of find(list) |
# |
Jul 21st 2018, 10:51 |
ra7bi |
Thanks |
# |
Jul 21st 2018, 10:51 |
ra7bi |
i thought there is a way to do it directly in view ! |
# |
Jul 21st 2018, 10:50 |
birdy247 |
@ra7bi yes, alaways do the grunt work away from view |
# |
Jul 21st 2018, 10:50 |
ra7bi |
@birdy247 can you explain more , do you mean i've to change the list in the controller ? |
# |
Jul 21st 2018, 10:49 |
admad |
hmic: taxing based on company's value sounds ridiculous |
# |
Jul 21st 2018, 10:49 |
birdy247 |
just look at the options the list finder accepts |
# |
Jul 21st 2018, 10:49 |
ra7bi |
i've first name and last name i want to show them as option value |
# |
Jul 21st 2018, 10:49 |
ra7bi |
i've ``` $this->Form->control('fisher_id', ['options' => $fishers]); ``` i want to replace DisplayField with value of two fields is that possible here ? |
# |
Jul 21st 2018, 09:51 |
birdy247 |
How big is your company now? |
# |
Jul 21st 2018, 09:51 |
birdy247 |
big hit! |
# |
Jul 21st 2018, 09:51 |
birdy247 |
oh wow |
# |
Jul 21st 2018, 09:49 |
hmic |
i'm struggling with german taxes right now, as they want to tax me on my companies value because i've left the country.:-( |
# |
Jul 21st 2018, 09:48 |
hmic |
hong kong is very easy though |
# |
Jul 21st 2018, 09:48 |
hmic |
not really. it's more than difficult to setup a chinese business |
# |
Jul 21st 2018, 09:47 |
birdy247 |
setting up a new business? |
# |
Jul 21st 2018, 09:47 |
birdy247 |
awesome |
# |
Jul 21st 2018, 09:41 |
hmic |
yeah, i'm in shenzhen right now |
# |
Jul 21st 2018, 09:38 |
birdy247 |
I hear you have moved? |
# |
Jul 21st 2018, 09:38 |
birdy247 |
hmic, its been a while |
# |
Jul 21st 2018, 09:16 |
saeideng |
hi birdy - hmic |
# |
Jul 21st 2018, 09:12 |
hmic |
moin moin |
# |
Jul 21st 2018, 09:09 |
birdy247 |
hmic morning :slightly_smiling_face: |
# |
Jul 21st 2018, 09:04 |
metoyoko |
Testing |
# |
Jul 21st 2018, 06:41 |
hmic |
turkels: do you know how a constructor works? Öp |
# |
Jul 21st 2018, 04:07 |
turkles |
How do I ensure that a newEntity() always has certain properties set? |
# |
Jul 20th 2018, 21:41 |
jasmun |
Figured it out! The app was incompatible with the php version that was running. |
# |
Jul 20th 2018, 21:36 |
saliak |
I think i’m having the same issue as https://stackoverflow.com/questions/44518467/cakephp-3-joining-data-across-multiple-databases |
# |
Jul 20th 2018, 21:34 |
saliak |
I want to establish a hasOne relationship between two models that use different defaultConnections. how do I specify that? currently, cake is using the defaultConnection for the main model |
# |
Jul 20th 2018, 19:40 |
jasmun |
I'm at a loss as to how to proceed....anyone have any ideas? |
# |
Jul 20th 2018, 19:40 |
jasmun |
I've updated the PATH, changed all the file permissions and double-checked that the file actually exists. :P |
# |
Jul 20th 2018, 19:39 |
jasmun |
I'm trying to install a cake app on a windows machine. I've downloaded the repository (which works fine on all other machines) and I keep getting this error: Class Object not found in /lib/Cake/Controller/Controller.php |
# |
Jul 20th 2018, 18:24 |
ra7bi |
i meant there is no clear example for beginner with plugins |
# |
Jul 20th 2018, 18:23 |
ra7bi |
I'm having a trouble with understanding the plugin it self , for example i want to create a plugin to change something on the page |
# |
Jul 20th 2018, 18:23 |
savant |
you can use bake to generate a plugin :) |
# |
Jul 20th 2018, 18:23 |
savant |
ra7bi: what are you having trouble with exactly? |
# |
Jul 20th 2018, 18:02 |
ra7bi |
is there any good course teaching me how to create cakephp 3 plugins ? i saw docs but i don't understand clearly how to get started |
# |
Jul 20th 2018, 17:47 |
birdy247 |
Should I be using ServerRequest or Request? |
# |
Jul 20th 2018, 15:44 |
birdy247 |
cheers |
# |
Jul 20th 2018, 15:44 |
birdy247 |
:slightly_smiling_face: |