# |
Nov 27th 2017, 10:37 |
neon1024 |
Or if you want it scripted, edit the Composer post install script |
# |
Nov 27th 2017, 10:37 |
neon1024 |
`composer create-project cakephp/app NewProject andand composer require rudy/plugin` |
# |
Nov 27th 2017, 10:36 |
rudy1976s |
@neon1024 yes I know that way but I need to download the skeleton and other plugin in a single operation |
# |
Nov 27th 2017, 10:36 |
neon1024 |
`composer create-project cakephp/app` |
# |
Nov 27th 2017, 10:35 |
rudy1976s |
Hello is there a way to download only the cake 3.5 skeleton via composer? |
# |
Nov 27th 2017, 10:18 |
joopm |
but it does not work |
# |
Nov 27th 2017, 10:17 |
joopm |
i tried use \Cake\Utility\Cookie; |
# |
Nov 27th 2017, 10:17 |
joopm |
how can i include Cookie? |
# |
Nov 27th 2017, 09:50 |
joopm |
yoo neon1024 |
# |
Nov 27th 2017, 09:34 |
saeideng |
globale variable in cake is `Configure::config()` |
# |
Nov 27th 2017, 09:30 |
neon1024 |
Morning everyone |
# |
Nov 27th 2017, 09:29 |
joopm |
and not neceesly to having double time links |
# |
Nov 27th 2017, 09:28 |
joopm |
i thoguht it enough just to set the globale variable to de |
# |
Nov 27th 2017, 09:26 |
saeideng |
in my case I have 2 link for every links `example.com/en/article` and `example.com/de/article` |
# |
Nov 27th 2017, 09:25 |
saeideng |
I no, but you can |
# |
Nov 27th 2017, 09:24 |
saeideng |
set locale in beforeRender |
# |
Nov 27th 2017, 09:24 |
joopm |
do you add it to the AppControll? |
# |
Nov 27th 2017, 09:24 |
saeideng |
yes |
# |
Nov 27th 2017, 09:23 |
joopm |
okey but changlang must have some lines |
# |
Nov 27th 2017, 09:23 |
saeideng |
you need first a link for switch |
# |
Nov 27th 2017, 09:22 |
saeideng |
i say other thing |
# |
Nov 27th 2017, 09:22 |
joopm |
so like this: function changeLang(){I18n::setLocale('de_DE');} |
# |
Nov 27th 2017, 09:21 |
saeideng |
`example.com/changelang` or example.com/en/...` |
# |
Nov 27th 2017, 09:21 |
joopm |
but i dont know how to choose between them? |
# |
Nov 27th 2017, 09:21 |
joopm |
i made the translation files |
# |
Nov 27th 2017, 09:20 |
saeideng |
what you need ? |
# |
Nov 27th 2017, 09:20 |
saeideng |
there are some way to make multi language |
# |
Nov 27th 2017, 09:20 |
saeideng |
create your route |
# |
Nov 27th 2017, 09:19 |
joopm |
but anyway how to use it? |
# |
Nov 27th 2017, 09:19 |
joopm |
i know this command: I18n::setLocale('de_DE'); |
# |
Nov 27th 2017, 09:19 |
justcharlz |
@saeideng ok. |
# |
Nov 27th 2017, 09:18 |
joopm |
? |
# |
Nov 27th 2017, 09:18 |
joopm |
is anyone who can tell me that how can i make a language change link |
# |
Nov 27th 2017, 09:18 |
joopm |
have a great before noon to you all |
# |
Nov 27th 2017, 09:18 |
joopm |
yooyoo everyone |
# |
Nov 27th 2017, 09:12 |
saeideng |
check log |
# |
Nov 27th 2017, 09:02 |
justcharlz |
yea. I placed it on a subdomain like that cake.example.com @saeideng |
# |
Nov 27th 2017, 08:58 |
saeideng |
not related to subdomain |
# |
Nov 27th 2017, 08:58 |
saeideng |
cake.example.com? |
# |
Nov 27th 2017, 08:51 |
justcharlz |
good morning all. What could cause cakephp application not to show on server giving error 500. Upon checking, error seems to be caused by invalid redirection rules in the .htaccess file. Placed the application in a subdomain. |
# |
Nov 27th 2017, 08:49 |
saeideng |
pass option into cell |