# |
Apr 16th 2017, 17:27 |
obinoob |
yes it works I mean I get now less 7 days |
# |
Apr 16th 2017, 17:25 |
Yuv |
doesn't work? |
# |
Apr 16th 2017, 17:24 |
obinoob |
yes |
# |
Apr 16th 2017, 17:24 |
Yuv |
obinoob: you posted this. did you try? Time::now()->subDays(7) |
# |
Apr 16th 2017, 17:20 |
obinoob |
*within |
# |
Apr 16th 2017, 17:20 |
obinoob |
How can I determine if a given date is width 7 days from now() ? |
# |
Apr 16th 2017, 17:11 |
obinoob |
I need to check if given date goes behind 7 days than Time::now(), can i use Time::now()->subDays(7) and compare dates? |
# |
Apr 16th 2017, 17:00 |
slackebot5 |
on the new page (the users is forwarded to a cake 2 page) and than he is logged out and has a new value in its cookie.. any ideas how to resolve this or do it in a better way? |
# |
Apr 16th 2017, 17:00 |
jojomartius |
hello all, i’m trying to share a session between two different cake instances (cake 2 and cake 3), the users logs in in cake 2, does most of its stuff but some pages are already implemented already in cake 3, so that pages are delivered by cake 3. that works great as long as its a static page - after changing the cookie name of both instances to the same the first request is served correctly and the users appears to be logged in, but if |
# |
Apr 16th 2017, 14:29 |
joop |
all happy Eater to you all! |
# |
Apr 16th 2017, 14:29 |
joop |
hello |
# |
Apr 16th 2017, 11:43 |
dereuromark |
in case anyone is interested in this cakephp internal backend driven translations plugin let me know, guys |
# |
Apr 16th 2017, 11:38 |
hiromi2424 |
and every php frameworks uses po files but bored. |
# |
Apr 16th 2017, 11:37 |
hiromi2424 |
iOS translation: sucks, android translation: normal.. but not bored work needed |
# |
Apr 16th 2017, 11:36 |
hiromi2424 |
yeah I’d not like to think about long/many translations… though my translations almostly for 2 languages. |
# |
Apr 16th 2017, 11:34 |
dereuromark |
for me translating longer static texts is so painful right now.. lucky me I only have one bi-lang website to manage |
# |
Apr 16th 2017, 11:34 |
bravo-kernel |
remember, I'm your average end-user, no pro. Most of those features are totally alien to me ;) |
# |
Apr 16th 2017, 11:34 |
dereuromark |
@hiromi2424 not sure, but I am quite certain I can finish the plugin within days |
# |
Apr 16th 2017, 11:33 |
hiromi2424 |
Modern another frameworks support some of such a features for translations? It is excited if available. |
# |
Apr 16th 2017, 11:33 |
dereuromark |
@bravo-kernel maybe phpstorm learn from them, in 1-2 years |
# |
Apr 16th 2017, 11:32 |
bravo-kernel |
totally different world all of a sudden, so fast compared to PHPStorm |
# |
Apr 16th 2017, 11:32 |
bravo-kernel |
however, the switching between various projects is key for me, along with the performance |
# |
Apr 16th 2017, 11:32 |
dereuromark |
so poeple without technical background can easily help translating via backend |
# |
Apr 16th 2017, 11:31 |
bravo-kernel |
probably that's more lack of time invested by me than to do with the IDE |
# |
Apr 16th 2017, 11:31 |
dereuromark |
Auto-Features like trim(), h(), newlines to p>/<br, Auto-Translate and Auto-Suggest with GoogleTranslateAPI (PHP/JS), Validate placeholders ({0}) |
# |
Apr 16th 2017, 11:31 |
bravo-kernel |
@dereuromark I must admit that (I think) I have not been able to get autocomplete and typehinting working properly |
# |
Apr 16th 2017, 11:31 |
dereuromark |
I started a plugin 10 years ago, which I should revive :slightly_smiling_face: |
# |
Apr 16th 2017, 11:29 |
hiromi2424 |
I reload pot file for po file and it before deploy and check with my eyes.. but yes it is annoying. |
# |
Apr 16th 2017, 11:28 |
hiromi2424 |
if very strict translations, I know. |
# |
Apr 16th 2017, 11:27 |
dereuromark |
no, not really |
# |
Apr 16th 2017, 11:27 |
hiromi2424 |
@dereuromark Poedit does not satisfy your usage? |
# |
Apr 16th 2017, 11:25 |
dereuromark |
how do you handle having the translations updated on the server when deploying an update? Is there any validation in place to make sure one doesnt output untranslated forgotten strings? |
# |
Apr 16th 2017, 11:24 |
dereuromark |
@admad translations can be a bit painful/annoying to handle. you use a DB according to the i18n plugin? |
# |
Apr 16th 2017, 11:23 |
dereuromark |
interesting, how is it regarding autocomplete/typehinting? |
# |
Apr 16th 2017, 11:19 |
bravo-kernel |
@theaxiom I second VSCode, never looked back at PHPStorm again |
# |
Apr 16th 2017, 11:18 |
dereuromark |
PHPSTorm sucks 1 fricken GB of RAM. with only 2 instances open. not sure what it does ;) |
# |
Apr 16th 2017, 11:14 |
admad |
@theaxiom switch to vscode instead of atom and you can have a few more instances open |
# |
Apr 16th 2017, 10:08 |
joop |
can you tell me how can i build dynamic menu based on the logged user?I mean i have to create the menu structure in the template files,but i am not sure if it is good to write there the logic insted of to the controller file |
# |
Apr 16th 2017, 10:07 |
joop |
happy Easter to you all |
# |
Apr 16th 2017, 10:07 |
joop |
hello guys |
# |
Apr 16th 2017, 08:32 |
theaxiom |
I need a better computer, lol |