# |
Nov 23rd 2017, 15:24 |
felix |
hi, i have a database view instead of a table for one of my models. now for the tests ... i'm not sure how to create the database view after the other fixtures have been loaded (precondition because the view is based on the fixtures' tables). should i create a method that runs the custom sql query and call this method after loading the fixtures? or is there another way? |
# |
Nov 23rd 2017, 15:01 |
neon1024 |
If it was me I would extend it, rather than replace it |
# |
Nov 23rd 2017, 14:43 |
rudy1976s |
yes a replacement for the appView |
# |
Nov 23rd 2017, 14:43 |
neon1024 |
Or a template? |
# |
Nov 23rd 2017, 14:43 |
neon1024 |
A new view class? |
# |
Nov 23rd 2017, 14:41 |
rudy1976s |
Good afternoon: I need to create a custom view to use for all my view, which is under a plugin: I am a bit confused where decalring to use my custom view instead AppView |
# |
Nov 23rd 2017, 14:38 |
neon1024 |
How do I add a context to my custom rule? |
# |
Nov 23rd 2017, 14:10 |
dereuromark |
check the version of local vs prod |
# |
Nov 23rd 2017, 14:10 |
dereuromark |
do you have an old version of intl ext? |
# |
Nov 23rd 2017, 14:04 |
joopm |
do you know that what can be the reason why internatiolazation works on local but the same time not on server |
# |
Nov 23rd 2017, 14:04 |
joopm |
have a such a great day to all community members |
# |
Nov 23rd 2017, 14:03 |
joopm |
hello all |
# |
Nov 23rd 2017, 14:03 |
rajaslack |
How to use MySQL locking reads in CakePHP 3.x |
# |
Nov 23rd 2017, 13:44 |
inoas |
very useful $this->Url->assetUrl('/assets/fonts/frutiger-lt-w01/frutiger-lt-w01-47-light-cn.woff2'), |
# |
Nov 23rd 2017, 12:12 |
birdy247 |
I am using the JsonApi for crud |
# |
Nov 23rd 2017, 12:10 |
birdy247 |
@neon1024 I am struggling to take the date and timezone from my api request and manipulate it into my request data so the marshaler picks it up |
# |
Nov 23rd 2017, 12:04 |
neon1024 |
Plus we can recruit Ionas as well! |
# |
Nov 23rd 2017, 12:04 |
neon1024 |
Yeah, if a few of us can get it up to spec perhaps we can add it to Friends of Cake :) |
# |
Nov 23rd 2017, 11:57 |
birdy247 |
I will get it on github |
# |
Nov 23rd 2017, 11:57 |
birdy247 |
I have the plugin |
# |
Nov 23rd 2017, 11:57 |
birdy247 |
@dereuromark ok will do |
# |
Nov 23rd 2017, 11:57 |
dereuromark |
@birdy247 let me know what you need to get things rollin' |
# |
Nov 23rd 2017, 11:56 |
dereuromark |
jep, thats the one |
# |
Nov 23rd 2017, 11:55 |
lorenzo |
that is the solution birdy has |
# |
Nov 23rd 2017, 11:55 |
lorenzo |
there are other cases where you already know the users’ timezone, so you do not need to change the form |
# |
Nov 23rd 2017, 11:55 |
lorenzo |
as selecting the timezone is important |
# |
Nov 23rd 2017, 11:55 |
lorenzo |
there are some cases where you do want to change the forms |
# |
Nov 23rd 2017, 11:55 |
lorenzo |
it depends on the type of solution you ened |
# |
Nov 23rd 2017, 11:54 |
dereuromark |
And without having to rewrite all forms if possible. |
# |
Nov 23rd 2017, 11:54 |
dereuromark |
I am eager to help as long as we get sth that works. |
# |
Nov 23rd 2017, 11:54 |
dereuromark |
:slightly_smiling_face: |
# |
Nov 23rd 2017, 11:54 |
lorenzo |
he volunteered to make a plugin after I explained how to get it done :) |
# |
Nov 23rd 2017, 11:53 |
lorenzo |
my solution is the one birdy is using |
# |
Nov 23rd 2017, 11:53 |
dereuromark |
Maybe we should persist it in docs or sth for timezoned setup |
# |
Nov 23rd 2017, 11:53 |
lorenzo |
but as I have demonstrated to many already, there is no one solution to fix all possible scenarios |
# |
Nov 23rd 2017, 11:53 |
lorenzo |
@dereuromark I have a solution I’ve been sharing around |
# |
Nov 23rd 2017, 11:51 |
admad |
@birdy247 guess i was wrong about the event. Never needed it since i can just setup required config before calling execute() |
# |
Nov 23rd 2017, 11:49 |
birdy247 |
I am assuming this is wildy wrong |
# |
Nov 23rd 2017, 11:47 |
birdy247 |
File uploaded https://cakesf.slack.com/files/U0T295QA3/F85HTA43Y/-.php / https://slack-files.com/T053DPNCM-F85HTA43Y-d63ce4dd65 |
# |
Nov 23rd 2017, 11:47 |
birdy247 |
I had this |
# |
Nov 23rd 2017, 11:47 |
birdy247 |
and set the to what my custom datatype exepctes |