# |
Oct 3rd 2016, 14:46 |
flangofas |
OK |
# |
Oct 3rd 2016, 14:45 |
goldsatish |
sir if you know can you sent to me all steps.. or any sample code... |
# |
Oct 3rd 2016, 14:45 |
goldsatish |
how can mange session and redirectr .. there not mentioned in cakephp3 document |
# |
Oct 3rd 2016, 14:44 |
goldsatish |
https://amdmaher.wordpress.com/2014/01/07/multilingual-in-cakephp-2-x-step-by-step/ |
# |
Oct 3rd 2016, 14:44 |
goldsatish |
sir i m looking this type |
# |
Oct 3rd 2016, 14:44 |
avi |
So as a generic rule, `phpunit.xml` and `phpcs.xml` should not be committed to the project, i suppose - or does that depend based on the project and members? |
# |
Oct 3rd 2016, 14:44 |
flangofas |
first you need to understand TranslateBehavior from http://book.cakephp.org/3.0/en/orm/behaviors/translate.html |
# |
Oct 3rd 2016, 14:43 |
goldsatish |
yes sir.. |
# |
Oct 3rd 2016, 14:43 |
flangofas |
Hi goldsatish |
# |
Oct 3rd 2016, 14:42 |
goldsatish |
multilingual in CakePHP 3 step-by-step |
# |
Oct 3rd 2016, 14:41 |
flangofas |
:+1: for the commit hook |
# |
Oct 3rd 2016, 14:41 |
goldsatish |
when i change button English to Arabic... all css,image and content change.. |
# |
Oct 3rd 2016, 14:41 |
flangofas |
@admad Nice. :slightly_smiling_face: |
# |
Oct 3rd 2016, 14:40 |
goldsatish |
i want to make websites English and Arabic |
# |
Oct 3rd 2016, 14:40 |
goldsatish |
can you anyone tell to me how can do cakephp multiple language ? |
# |
Oct 3rd 2016, 14:39 |
goldsatish |
hello everyone... |
# |
Oct 3rd 2016, 14:35 |
avi |
Ah! Makes sense. And thanks for the link - thatâ??s helpful! |
# |
Oct 3rd 2016, 14:34 |
admad |
@avi https://github.com/cakephp/cakephp/blob/master/contrib/pre-commit |
# |
Oct 3rd 2016, 14:32 |
admad |
@avi setup a git commit hook |
# |
Oct 3rd 2016, 14:32 |
admad |
writing formatted code should become second nature. You shouldn't have to run phpcbf everytime on your own code |
# |
Oct 3rd 2016, 14:32 |
avi |
@admad I have it configured in my editor, but sometimes before making a commit / submitting a merge request, I would just like to run phpunit and phpcs on the whole project. So seeing if i can get as lazy as possible in executing the most minimal command :P |
# |
Oct 3rd 2016, 14:32 |
maikh |
@neon1024 im there now ;) |
# |
Oct 3rd 2016, 14:31 |
Neon1024 |
Oh right, sorry, assumed you mean like a watcher or something |
# |
Oct 3rd 2016, 14:31 |
admad |
Neon1024: i never said to run it on every keystroke. You can configure it to run on file save |
# |
Oct 3rd 2016, 14:31 |
Neon1024 |
Especially with phpcbf able to auto-fix most errors |
# |
Oct 3rd 2016, 14:31 |
Neon1024 |
admad, Not everyone wants it running on every keystroke though |
# |
Oct 3rd 2016, 14:30 |
admad |
@avi running phpcs should be configured in your editor itself |
# |
Oct 3rd 2016, 14:30 |
Neon1024 |
o |
# |
Oct 3rd 2016, 14:30 |
ndm |
Well, there's german here on slack :slightly_smiling_face: |
# |
Oct 3rd 2016, 14:30 |
Neon1024 |
But youâ??re on Slack, so well, yeah have fun with that |
# |
Oct 3rd 2016, 14:29 |
Neon1024 |
maikh, Well if you were here on irc Iâ??d recommend trying #cakephp-de |
# |
Oct 3rd 2016, 14:28 |
maikh |
@birdy it is a very big form which has to work with cookies and db at the same. Image uploading, and so on and so on. i think i need only help on saving correct data, compare data on save and getting data from cookies. german speaker would be great. |
# |
Oct 3rd 2016, 14:25 |
birdy247 |
maikh what is your project |
# |
Oct 3rd 2016, 14:24 |
avi |
Bash alias makes sense :white_check_mark: |
# |
Oct 3rd 2016, 14:23 |
Neon1024 |
vendor/bin/phpunit andand vendor/bin/phpcs â??standard=vendor/cakephp/cakephp-codesniffer/CakePHP |
# |
Oct 3rd 2016, 14:23 |
Neon1024 |
So why not make a bash alias for |
# |
Oct 3rd 2016, 14:23 |
Neon1024 |
Well, using vendor/bin/phpunit with a proper phpunit.xml will run the configured test suites automatically |
# |
Oct 3rd 2016, 14:21 |
avi |
Any ideas and thoughts to make running tests locally on a developerâ??s machine easier (with just 1 command)? I want something like `bin/cake myApp test` -> this should run both `phpunit` and `phpcs`. Is writing a shell script the only way? |
# |
Oct 3rd 2016, 14:19 |
Neon1024 |
unorthodox, Just because, RE: This morning /cc birdy247 - echo sprintf($this->markup, "tv channels $providerClass", "$chans channels $hd"); |
# |
Oct 3rd 2016, 14:17 |
maikh |
Is there someone who can help to finish my project? For money of course. |
# |
Oct 3rd 2016, 13:59 |
dakota |
By definition if the servers changed, then something changed |