# |
May 30th 2017, 07:37 |
saeideng |
your akephp version ? |
# |
May 30th 2017, 07:34 |
nizam27391 |
apache 2.4, php 5.6 |
# |
May 30th 2017, 07:34 |
nizam27391 |
im using laragon |
# |
May 30th 2017, 07:34 |
nizam27391 |
yeap.. |
# |
May 30th 2017, 07:34 |
nizam27391 |
yeap.. im on windows.. |
# |
May 30th 2017, 07:33 |
saeideng |
your project runs correctly on server? |
# |
May 30th 2017, 07:33 |
saeideng |
you are in windows? |
# |
May 30th 2017, 07:32 |
saeideng |
BACKSLASH |
# |
May 30th 2017, 07:30 |
nizam27391 |
example like this |
# |
May 30th 2017, 07:30 |
saeideng |
? |
# |
May 30th 2017, 07:30 |
saeideng |
when using `$this->Html->link()` |
# |
May 30th 2017, 07:29 |
saeideng |
just `%5C`? |
# |
May 30th 2017, 07:27 |
nizam27391 |
hi.. im nizam from malaysia.. I have an issue with cakephp 2.x.. This is an old project that i've previously working on. and we want to revamp the project and hence i downloaded the code to my local setup.. Everything is fine except that for URL.. its always adding %5C to links.. this includes my css, js, images and files.. Anyone knows about it? |
# |
May 30th 2017, 07:20 |
saeideng |
test `inline code` |
# |
May 30th 2017, 07:19 |
saeideng |
``` code ``` |
# |
May 30th 2017, 07:19 |
saeideng |
```test ``` |
# |
May 30th 2017, 07:16 |
saeideng |
how i can use code block in slack |
# |
May 30th 2017, 07:16 |
saeideng |
another question |
# |
May 30th 2017, 07:14 |
saeideng |
..... $this->render('another_ctp_file'); $this->set('_serialize', []); //not works |
# |
May 30th 2017, 07:13 |
saeideng |
works well |
# |
May 30th 2017, 07:13 |
saeideng |
$this->loadComponent('Ajax.Ajax',[ 'flashKey' => 'Flash.user_login']); $mess=""; $this->Flash->error(__($mess), ['clear'=>true,'key' => 'user_login']); $this->request->session()->write('Flash.user_login.error', [$mess]); $this->set('_serialize', []); |
# |
May 30th 2017, 07:11 |
saeideng |
i dont know ,now |
# |
May 30th 2017, 07:11 |
saeideng |
probably that issue is related to cake core |
# |
May 30th 2017, 07:10 |
saeideng |
i dont know what hapents but if i find that reason ,yes |
# |
May 30th 2017, 07:09 |
dereuromark |
You can make a PR with your suggested fix |
# |
May 30th 2017, 07:08 |
saeideng |
your plugin not works correctly |
# |
May 30th 2017, 07:08 |
saeideng |
when i using $this->render('another_ctp_file'); |
# |
May 30th 2017, 07:07 |
saeideng |
i used ajax plugin |
# |
May 30th 2017, 07:07 |
saeideng |
@dereuromark |
# |
May 30th 2017, 07:07 |
saeideng |
hi |
# |
May 30th 2017, 01:52 |
Leonardo_0112 |
in the controller scope |
# |
May 30th 2017, 01:52 |
Leonardo_0112 |
$this->Banner->getEventManager()->dispatch(new CakeEvent('Model.afterDelete', $this->Banner)); did the trick ;) |
# |
May 30th 2017, 01:37 |
royalty |
good luck |
# |
May 30th 2017, 01:37 |
royalty |
I'm confused anyway I think I'm going to go get some exercise |
# |
May 30th 2017, 01:36 |
Leonardo_0112 |
royalty, I was using a component, but now I'm putting it on a bahavior |
# |
May 30th 2017, 01:36 |
Leonardo_0112 |
royalty, I'd like to do the same with Banners |
# |
May 30th 2017, 01:36 |
Leonardo_0112 |
royalty, because when I delete product or category, the behavior afterDelete clear all not used images |
# |
May 30th 2017, 01:35 |
royalty |
lol |
# |
May 30th 2017, 01:35 |
royalty |
if you want to do that but not actually afterDelete what's the point |
# |
May 30th 2017, 01:35 |
royalty |
and react to that event |
# |
May 30th 2017, 01:35 |
royalty |
instead you could create another event |