# |
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 |
# |
Nov 27th 2017, 08:19 |
birdy247 |
i.e. the key is the WHERE or ORDER |
# |
Nov 27th 2017, 08:19 |
birdy247 |
I have a cell which gets some records. I want to make this flexible and allow the user to pass in an array of condiditions i.e. Where and Order. Would the best way to be just to iterate over these and then build the query |
# |
Nov 27th 2017, 06:35 |
Guest95639 |
thank you. |
# |
Nov 27th 2017, 06:19 |
admad |
helps is you read the comments https://github.com/cakephp/app/blob/master/config/.env.default#L7 |
# |
Nov 27th 2017, 06:19 |
admad |
Guest95639 ^ |
# |
Nov 27th 2017, 06:19 |
admad |
or copy |
# |
Nov 27th 2017, 06:18 |
admad |
you have to rename it to .env |
# |
Nov 27th 2017, 06:09 |
Guest95639 |
Hi guys. I am having problems accessing the variable in my .env.default file through the function env(). How do I get the variable value in .env.default file? |
# |
Nov 26th 2017, 22:12 |
JD-Robbs |
And if HTML, how are you looking at it? Source or rendered? ;D |
# |
Nov 26th 2017, 22:11 |
JD-Robbs |
joopm, what are you rendering - HTML or plain text? |
# |
Nov 26th 2017, 20:43 |
wodzy |
Hi i have this error : Error: Mysql driver is NOT enabled but i have MariaDB in my VirtualBox |
# |
Nov 26th 2017, 20:08 |
joopm |
how can i do that? |
# |
Nov 26th 2017, 20:08 |
joopm |
treeList return the id,but i would like to use the associated Model's name field |
# |
Nov 26th 2017, 20:07 |
joopm |
is anyone who would answer to my question that realted to TreeBehaviour |
# |
Nov 26th 2017, 20:07 |
joopm |
hello all |
# |
Nov 26th 2017, 18:38 |
joopm |
also "\n" either not works |
# |
Nov 26th 2017, 18:38 |
joopm |
is anyone who can tell me echo $var."\r\n" doesn not make a new line |
# |
Nov 26th 2017, 17:02 |
raul338 |
and the tree behaviour requires left, rigth and parent_id (which you already have) |
# |
Nov 26th 2017, 17:02 |
raul338 |
parent_id can be null (first parent) |
# |
Nov 26th 2017, 17:01 |
raul338 |
it has nothing to do |