Log message #4126109

# At Username Text
# Mar 19th 2018, 10:16 rchavik ffs, .dev is now hsts :(
# Mar 19th 2018, 10:04 neon1024 I have a strange issue with DebugKit this morning, it’s reporting that an entity has a null associated property, but it does not
# Mar 19th 2018, 09:00 birdy247 In this case, would I register the listener in bootstrap.php?
# Mar 19th 2018, 08:59 birdy247 and then allow my app to hook into it
# Mar 19th 2018, 08:59 birdy247 I was going to emit an event
# Mar 19th 2018, 08:59 birdy247 I want to then allow the parent app to generate extra entities
# Mar 19th 2018, 08:59 birdy247 I am making a new plugin, in one of the model, we do some processing (to generate some entities).
# Mar 19th 2018, 08:52 neon1024 Hey everyone
# Mar 19th 2018, 07:31 roel Morning
# Mar 19th 2018, 00:34 cnizzardini If you're an experienced developer looking for contract work: https://www.upwork.com/ab/applicants/975523998556270592/job-details
# Mar 18th 2018, 19:59 saeideng dont use for real App
# Mar 18th 2018, 19:54 saeideng no
# Mar 18th 2018, 19:27 adithya Anybody setup cakephp 3 on 000webhost?
# Mar 18th 2018, 16:37 rudy1976s I have a question regarding forms : what is the best way for creating different set of form ? I need to be able to have pre defined forms ( contacts - general info etc,) ready to be merged in my cms: I was thinking about cells but I dont know how to manage redirects after submitting thanks in advance
# Mar 18th 2018, 16:34 rudy1976s Good afternoon
# Mar 18th 2018, 13:47 h.mavisakalian @dereuromarkThanks
# Mar 18th 2018, 13:28 dereuromark sure a simple Layout switch inside e.g. a component
# Mar 18th 2018, 13:25 h.mavisakalian What I’m asking is what is the correct way to do this, not if it can be done.
# Mar 18th 2018, 13:25 h.mavisakalian One question, can I make 2 default.ctp files for the public use and the admin panel?
# Mar 18th 2018, 13:24 h.mavisakalian Hi all
# Mar 18th 2018, 10:27 turkles Ah, glad you worked it out
# Mar 18th 2018, 10:24 loginews I ran "UPDATE vendor SET VENDID=TRIM(VENDID)" and the problem is solved...! The key field was space filled to the end. A space is non-visible to the non-blind.... :slightly_smiling_face:
# Mar 18th 2018, 09:50 turkles another pair of eyes is always good, even if they are blind
# Mar 18th 2018, 09:49 loginews I will struggle with it.
# Mar 18th 2018, 09:49 loginews you are very kind.
# Mar 18th 2018, 09:49 loginews I believe there must have been something wrong with the table structure
# Mar 18th 2018, 09:49 loginews thanks a lot
# Mar 18th 2018, 09:49 loginews when I replaced the data, now it does not work on both
# Mar 18th 2018, 09:48 loginews actually, as I told you it was working on Unix not on Windows
# Mar 18th 2018, 09:48 loginews it does :(
# Mar 18th 2018, 09:48 turkles providing 'NATU' exists in $data
# Mar 18th 2018, 09:48 turkles which would also be fine
# Mar 18th 2018, 09:48 loginews okay, for me it is something like 'NATU' that is a string
# Mar 18th 2018, 09:47 turkles if 1 is the key to your desired default
# Mar 18th 2018, 09:47 turkles echo $this->Form->select('VENDID',$data,['onchange'=>'updvendid()','id'=>'vendid','default' => 1]);
# Mar 18th 2018, 09:45 loginews File uploaded https://cakesf.slack.com/files/U435V89H8/F9R771S0Z/-.txt / https://slack-files.com/T053DPNCM-F9R771S0Z-d6e6e62382 - Where should I add the default option?
# Mar 18th 2018, 09:44 turkles The ['default' => 'm'] would work fine, providing of course that 'm' is your index to what you want as default - not the value you want to show
# Mar 18th 2018, 09:42 loginews Let me show you the actual cakephp code. Maybe there is a missing [ or something else.
# Mar 18th 2018, 09:40 loginews I also tried 'selected'=>'m' and 'value'=>'m' .... in all cases, the generated html code does not contain anything which would allow the select command to display a default option.
# Mar 18th 2018, 09:38 loginews yes, I tried that too. When I look at the generated code, it is no different than before.
# Mar 18th 2018, 09:36 turkles You mean: echo $this->Form->select('size', $sizes, ['default' => 'm']);