# |
Jun 29th 2018, 06:52 |
bravo-kernel |
howdy :wave: |
# |
Jun 29th 2018, 06:50 |
admad |
howdy @bravo-kernel |
# |
Jun 29th 2018, 06:34 |
bravo-kernel |
Go @admad :+1::skin-tone-3: |
# |
Jun 29th 2018, 06:24 |
admad |
thanks, i got simplescreenrecorder, seeks ok enough for my use case |
# |
Jun 29th 2018, 06:22 |
steinkel |
https://en.wikipedia.org/wiki/RecordMyDesktop |
# |
Jun 29th 2018, 06:15 |
admad |
i want a desktop app, no need for cloudy stuff, definitely not going to register for anything :slightly_smiling_face: |
# |
Jun 29th 2018, 06:14 |
steinkel |
and you can be the only one in that call :P |
# |
Jun 29th 2018, 06:13 |
steinkel |
you can record a call to the cloud and share the link |
# |
Jun 29th 2018, 06:13 |
steinkel |
I use zoom |
# |
Jun 29th 2018, 06:00 |
admad |
any suggestions for screen recorder on linux? |
# |
Jun 28th 2018, 21:05 |
josbeir |
woohoo! |
# |
Jun 28th 2018, 20:15 |
lubos |
The best idea was to check RadioWidgetTest, below is my working example I needed ... love FormHelper :slightly_smiling_face: ``` 'options' => [ ['value' => 0, 'text' => 'No, not yet'], ['value' => 1, 'text' => 'Yep, sure am!', 'data-test' => 'test'], ], ``` |
# |
Jun 28th 2018, 19:12 |
savant |
chrispecoraro: what are you trying to do? |
# |
Jun 28th 2018, 19:12 |
savant |
yeah you make a custom provider, which works well |
# |
Jun 28th 2018, 19:11 |
kitcat711 |
Hello, does anyone use Mamp for local CakePHP dev? (sorry if it does not fit the channel main subject) |
# |
Jun 28th 2018, 19:10 |
rgbcom |
I looked at adding a custom provider |
# |
Jun 28th 2018, 19:10 |
rgbcom |
a trait sounds ok |
# |
Jun 28th 2018, 19:09 |
rgbcom |
savant: Like this one: https://book.cakephp.org/3.0/en/core-libraries/validation.html#using-custom-validation-rules |
# |
Jun 28th 2018, 19:02 |
chrispecoraro |
I assume I should be able to do this ^^. |
# |
Jun 28th 2018, 19:02 |
chrispecoraro |
```if($this->Paginator->hasNext()){ echo $this->Paginator->next("Next"); }``` |
# |
Jun 28th 2018, 19:01 |
chrispecoraro |
The $this->Pagination in 2.8 mention a Component as well as Helper, but there are no examples... |
# |
Jun 28th 2018, 18:59 |
savant |
what do you mean by validation rule |
# |
Jun 28th 2018, 18:59 |
savant |
rgbcom: you can put it into a trait |
# |
Jun 28th 2018, 18:58 |
josbeir |
:flag-gb: v :flag-be: :zzz: |
# |
Jun 28th 2018, 18:57 |
rgbcom |
How do I share a custom validation rule I have created between many controller? |
# |
Jun 28th 2018, 16:55 |
rgbcom |
Is there a validation rule I can use to validate an ISO8601 date/time string instead of validating an array holding date parts? |
# |
Jun 28th 2018, 16:30 |
rubenD |
This causes a bit of a head scratch on how to validate as a single form |
# |
Jun 28th 2018, 16:30 |
rubenD |
So if I save, then patch entity and save again, it works. I assume then that default functionality is that cake will only update an existing association, it will not update an association that is being made in the same save procedure. |
# |
Jun 28th 2018, 16:16 |
rubenD |
It saves the association, just doesn't update the record. So I pass in clients.0.id and clients.0.mobile. The association is made with the correct ID, but the mobile field for that client remains blank. |
# |
Jun 28th 2018, 16:14 |
josbeir |
just pass in the required data |
# |
Jun 28th 2018, 16:14 |
josbeir |
should be yeah |
# |
Jun 28th 2018, 16:13 |
rubenD |
Hi josbeir, I can't see where my issue is addressed on that page. Is it definitely possible to update an existing record as you save it as an association to a brand new record? |
# |
Jun 28th 2018, 16:12 |
Duailibe |
*ask |
# |
Jun 28th 2018, 16:12 |
Duailibe |
is possible to make questions about cakephp v2 here? |
# |
Jun 28th 2018, 16:00 |
josbeir |
that whole page will get you where you need to be |
# |
Jun 28th 2018, 15:59 |
josbeir |
rubenD => https://book.cakephp.org/3.0/en/orm/saving-data.html#converting-request-data-into-entities |
# |
Jun 28th 2018, 15:45 |
rubenD |
So the entity being saved is the Company and is a new record. The clients are associated as belongsToMany and are existing records. During this save operation, I am also trying to update the client name, for example. |
# |
Jun 28th 2018, 15:43 |
rubenD |
Hi guys - Is there any way to update a record as you save it with a belongsToMany relationship? So Companies have and belong to many Clients. As we create a new company, we save associated clients. Can the client record be updated during this save operation? |
# |
Jun 28th 2018, 14:59 |
kunalspunjabi |
oh ok |
# |
Jun 28th 2018, 14:59 |
josbeir |
no |
# |
Jun 28th 2018, 14:59 |
kunalspunjabi |
@josbeir was that for me? templateVars |