# |
Oct 3rd 2016, 11:38 |
WebDevB |
acosonic: 1.3.19 to be exact. |
# |
Oct 3rd 2016, 11:37 |
WebDevB |
to be exact |
# |
Oct 3rd 2016, 11:37 |
WebDevB |
1.3.19 |
# |
Oct 3rd 2016, 11:36 |
WebDevB |
1.3 |
# |
Oct 3rd 2016, 11:35 |
acosonic |
WebDevB: which version of Cake are you using? |
# |
Oct 3rd 2016, 11:34 |
WebDevB |
acosonic: Yea sorry, do you know where the default user controller is? I've not really used CakePHP much... Sorry to sound num |
# |
Oct 3rd 2016, 11:34 |
acosonic |
WebDevB: you need to be more specific... Check your action on sucessful and unsucessful login, put a var dump there or something |
# |
Oct 3rd 2016, 11:28 |
WebDevB |
Can anyone help? |
# |
Oct 3rd 2016, 11:28 |
WebDevB |
Hey guys, we've got a multi langauge site and when we're trying to login it's redirecting us back to the homepage saying incorrect login details but they are correct. |
# |
Oct 3rd 2016, 11:28 |
livia.scapin |
my code is waiting for tests since 2 yearsâ?¦ |
# |
Oct 3rd 2016, 11:21 |
johan |
`public function testXxxI()` |
# |
Oct 3rd 2016, 11:21 |
johan |
as long as starts with the word `test`, as far as I know |
# |
Oct 3rd 2016, 11:05 |
dereuromark |
Yeah :slightly_smiling_face: |
# |
Oct 3rd 2016, 10:57 |
unorthodox |
lol |
# |
Oct 3rd 2016, 10:57 |
crazycoder |
D |
# |
Oct 3rd 2016, 10:57 |
Neon1024 |
Indiaâ??s software industry would shut down without Stackoverflow haha |
# |
Oct 3rd 2016, 10:56 |
Neon1024 |
Whatâ??s wrong with copying random code from Stackoverflow and putting it in your project! :p |
# |
Oct 3rd 2016, 10:56 |
unorthodox |
If you really want to use cakephp's way |
# |
Oct 3rd 2016, 10:56 |
unorthodox |
http://book.cakephp.org/3.0/en/views/helpers/html.html#creating-meta-tags |
# |
Oct 3rd 2016, 10:56 |
crazycoder |
ok copy and paste |
# |
Oct 3rd 2016, 10:55 |
crazycoder |
Neon1024, ahaha :D |
# |
Oct 3rd 2016, 10:55 |
Neon1024 |
p |
# |
Oct 3rd 2016, 10:55 |
Neon1024 |
Write a library which you can then implement into a helper, which you can call in your layout |
# |
Oct 3rd 2016, 10:55 |
unorthodox |
:( |
# |
Oct 3rd 2016, 10:55 |
Neon1024 |
Copy and paste into your layout? |
# |
Oct 3rd 2016, 10:55 |
Neon1024 |
Haha |
# |
Oct 3rd 2016, 10:54 |
crazycoder |
but how can i add them via cakephp ? |
# |
Oct 3rd 2016, 10:54 |
crazycoder |
oh thank unorthodox |
# |
Oct 3rd 2016, 10:54 |
crazycoder |
$this->response->expires('-1 days'); |
# |
Oct 3rd 2016, 10:50 |
unorthodox |
http://stackoverflow.com/a/1341133 |
# |
Oct 3rd 2016, 10:49 |
crazycoder |
guys how can i prevent that browsers cache my page? |
# |
Oct 3rd 2016, 10:49 |
crazycoder |
hello |
# |
Oct 3rd 2016, 09:38 |
Neon1024 |
lol |
# |
Oct 3rd 2016, 09:38 |
charolastra |
i see, thanks |
# |
Oct 3rd 2016, 09:37 |
unorthodox |
That's still an echo |
# |
Oct 3rd 2016, 09:37 |
charolastra |
no echo there, only the shorthand code <?= for calling php |
# |
Oct 3rd 2016, 09:35 |
Neon1024 |
It is if youâ??ve prefixed it with echo |
# |
Oct 3rd 2016, 09:35 |
charolastra |
when doing $this->layout in a view template it results in the layout name getting echoed in the generated HTML. is that a bug? |
# |
Oct 3rd 2016, 09:25 |
mamchenkov |
cool, thanks unorthodox :) |
# |
Oct 3rd 2016, 09:24 |
unorthodox |
http://book.cakephp.org/3.0/en/migrations.html#seed-seeding-your-database |
# |
Oct 3rd 2016, 09:24 |
unorthodox |
They mentioned seed in migrations too though |