# |
Mar 20th 2019, 10:30 |
barlas |
It's outside before it. And bin/cake routes show all routes defined in Route::scope('/') |
# |
Mar 20th 2019, 10:30 |
barlas |
Should the defaultRoute option be with Route::scope? |
# |
Mar 20th 2019, 10:29 |
spriz |
then it seems InflectedRoute class is not set properly :slightly_smiling_face: |
# |
Mar 20th 2019, 10:28 |
barlas |
Yes, myController works |
# |
Mar 20th 2019, 10:28 |
spriz |
are the routes loaded? Can you see them in `$ bin/cake routes`? |
# |
Mar 20th 2019, 10:28 |
spriz |
@barlas does /myController, /my-controller og /mycontroller work? |
# |
Mar 20th 2019, 10:16 |
barlas |
In routes.php, default route class was DashedRoute, I changed it to InflectedRoute, but that didn't help either. |
# |
Mar 20th 2019, 10:15 |
barlas |
Any ideas? |
# |
Mar 20th 2019, 10:15 |
barlas |
Requests with _ aren't working. when calling /my_controller, it says Controller class My_controller could not be found. |
# |
Mar 20th 2019, 10:13 |
marius.treu |
cant you simply delete an entity (to delete all associations "on delete cascase") and resave it as a new one afterwards? |
# |
Mar 20th 2019, 10:11 |
marius.treu |
while begining a transaction, i start with deleting an entity that was already in the database, afterwards i modify this entity and save it back to the database. Doing that result in the following error "Cannot commit transaction - rollback() has been already called in the nested transaction" |
# |
Mar 20th 2019, 10:11 |
nico946 |
quick question, does anybody know about a package for integrating Mailchimp to Cake 3.5? |
# |
Mar 20th 2019, 10:11 |
nico946 |
Hi everyone, |
# |
Mar 20th 2019, 10:10 |
asdfgh |
a good library to create excel file? |
# |
Mar 20th 2019, 10:10 |
asdfgh |
hello |
# |
Mar 20th 2019, 10:02 |
marius.treu |
hello |
# |
Mar 20th 2019, 10:01 |
birdy247 |
Anyone help with my query? |
# |
Mar 20th 2019, 09:56 |
spriz |
Yeah it seems obvious now :) |
# |
Mar 20th 2019, 09:47 |
dereuromark |
but "translate" tbh |
# |
Mar 20th 2019, 09:47 |
spriz |
Yeah but that list doesn’t work when one search for `cakehp-translate` it seems :,) |
# |
Mar 20th 2019, 09:46 |
dereuromark |
you should know how to use the awesome list^^ |
# |
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() |