# |
Jul 21st 2018, 13:36 |
sekai.dev |
seems so :( |
# |
Jul 21st 2018, 13:28 |
turkles |
Not many here who can answer stuff, sleepy time for most! |
# |
Jul 21st 2018, 13:14 |
sekai.dev |
Ah don't worry, could solve it. Thank you! |
# |
Jul 21st 2018, 12:57 |
sekai.dev |
Hey guys. Is there anyone that knows translateBehavior well? |
# |
Jul 21st 2018, 11:38 |
turkles |
hrm. I think it's because my Entity class is named wrong, what is the Entity naming convention for a 'through' class |
# |
Jul 21st 2018, 11:17 |
turkles |
How can I set default properties for a newEntity(), is there some magic needed, or is __contruct enough? |
# |
Jul 21st 2018, 11:01 |
Lachie |
Ello |
# |
Jul 21st 2018, 10:54 |
ra7bi |
Sure , |
# |
Jul 21st 2018, 10:53 |
admad |
Read up out entity getters on manual |
# |
Jul 21st 2018, 10:52 |
ra7bi |
@admad oh , sounds great thanks i will do that . |
# |
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? |