# |
Mar 20th 2019, 09:46 |
spriz |
Nvm https://github.com/dereuromark/cakephp-translate :) |
# |
Mar 20th 2019, 09:46 |
spriz |
is that a plugin of yours? Google doesn’t give me helpful stuff :anguished: |
# |
Mar 20th 2019, 09:45 |
spriz |
I will look into `cakephp-translate` |
# |
Mar 20th 2019, 09:45 |
dereuromark |
ahok, then probably simple regex or alike. As for swapping. You can look into enhancing cakephp-translate to further improve use cases here, both on shell as on web backend level. |
# |
Mar 20th 2019, 09:44 |
slackebot2 |
<birdy247> |
# |
Mar 20th 2019, 09:44 |
spriz |
@dereuromark not like that - only strings within the translation functions |
# |
Mar 20th 2019, 09:44 |
spriz |
Say one started writing the code in Spanish languages and have everything translated to English in `.po`files and now want to “swap around” and have `English` in the `pot` file and `Spanish`as a `po` file |
# |
Mar 20th 2019, 09:44 |
dereuromark |
all strings is dangerous? many are not to be translated, as code pieces etc |
# |
Mar 20th 2019, 09:43 |
spriz |
Does anyone happen to have some script/plugin that replaces all strings in the app within `__()` from one language to another? |
# |
Mar 20th 2019, 09:38 |
jan-willem |
What is the best approach if I want to create multiple CSV import commands: - Multiple console command for each CSV file? - One CSV import console command which calls other console command (is this possible?) - One CSV import console command which calls a CSV factory which returns a model which takes care for all logic for each type of import? |
# |
Mar 20th 2019, 09:34 |
birdy247 |
I just want to make the 10 dynaimc |
# |
Mar 20th 2019, 09:34 |
slackebot2 |
<birdy247> |
# |
Mar 20th 2019, 09:24 |
birdy247 |
I am trying to figure out how to build this in the query builder |
# |
Mar 20th 2019, 09:24 |
birdy247 |
a member is considered lapsed when their end_date + lapsed_days < today |
# |
Mar 20th 2019, 09:23 |
birdy247 |
a payment_option has a lapsed_days feild |
# |
Mar 20th 2019, 09:23 |
birdy247 |
a member has an end_date (DATE) |
# |
Mar 20th 2019, 09:23 |
birdy247 |
a member belongsTo a payment options |
# |
Mar 20th 2019, 09:23 |
birdy247 |
:slightly_smiling_face: |
# |
Mar 20th 2019, 09:21 |
dereuromark |
^^ that part he sure knows |
# |
Mar 20th 2019, 09:20 |
challgren |
$table->find() |
# |
Mar 20th 2019, 09:19 |
birdy247 |
I am trying to do create a query |
# |
Mar 20th 2019, 09:19 |
birdy247 |
Morning |
# |
Mar 20th 2019, 08:13 |
spriz |
@acosonic depending on complexity - if you’re mostly looking for basic CRUD stuff you could look into `crud` and `crud-view` |
# |
Mar 20th 2019, 08:10 |
dereuromark |
no |
# |
Mar 20th 2019, 08:09 |
scuadra |
Hello. Is it possible to use afterSave() callback on updateAll() in Cake 3.7? |
# |
Mar 20th 2019, 07:55 |
narendravaghela |
I use this - https://keenthemes.com/metronic/ |
# |
Mar 20th 2019, 07:35 |
acosonic |
Hi all, any backend theme you are recommending? For /admin purposes? |
# |
Mar 19th 2019, 20:29 |
joopm |
okey i see thank you for your patient |
# |
Mar 19th 2019, 20:28 |
challgren |
https://book.cakephp.org/3.0/en/migrations.html#using-migrations-in-plugins |
# |
Mar 19th 2019, 20:28 |
challgren |
https://book.cakephp.org/3.0/en/migrations.html |
# |
Mar 19th 2019, 20:27 |
joopm |
how do you mean Migrations? I thought migrations is about conversion from cakephp 2 to cakephp 3 for example |
# |
Mar 19th 2019, 20:26 |
joopm |
hello |
# |
Mar 19th 2019, 20:25 |
challgren |
Migrations |
# |
Mar 19th 2019, 20:07 |
joopm |
and interested in how to pack db files for installing the plugin later |
# |
Mar 19th 2019, 20:07 |
joopm |
i made my first plugin |
# |
Mar 19th 2019, 20:07 |
joopm |
hello |
# |
Mar 19th 2019, 19:41 |
ricksaccous |
actually i didn't, rawrrrrr |
# |
Mar 19th 2019, 19:26 |
ricksaccous |
got it working, was simpler than that |
# |
Mar 19th 2019, 19:26 |
ricksaccous |
nevermind |
# |
Mar 19th 2019, 19:05 |
ricksaccous |
in a hasOne |
# |
Mar 19th 2019, 19:05 |
ricksaccous |
i would have just used sortConditions but they seem to be ignored |