# |
Jan 15th 2018, 15:21 |
admad |
Copy or use them from plugin itself |
# |
Jan 15th 2018, 15:11 |
jotpe |
What's best practice for layouts in plugins? copy them to src/Template/Layout or symlink them? e.g. https://github.com/FriendsOfCake/bootstrap-ui#loading-the-bootstrap-framework |
# |
Jan 15th 2018, 15:03 |
steinkel |
note for others having this issue, since cakephp/app:3.5.1 auto serialization is removed, so you need to specify `$this->set('_serialize', true);` in your controller action to keep that behavior in new applications or you'll get a `Template file XXX is missing` |
# |
Jan 15th 2018, 13:58 |
admad |
@jayden please submit an update to that manual example |
# |
Jan 15th 2018, 13:57 |
jayden |
Nvm i figured it out. The template needs to have {{hidden}} in front of it in the nestingLabel |
# |
Jan 15th 2018, 13:47 |
jayden |
Hey guys I'm using the form helper and moving the checkboxes and radios outside of the label like this https://book.cakephp.org/3.0/en/views/helpers/form.html#moving-checkboxes-radios-outside-of-a-label but it throws a blackhole error if not all the checkboxes are selected once i use that template |
# |
Jan 15th 2018, 11:29 |
edgaras.janusauskas |
http://www.vueslack.com/ |
# |
Jan 15th 2018, 11:28 |
neon1024 |
@maymeow vueslack.slack.com |
# |
Jan 15th 2018, 11:23 |
maymeow |
@neon1024 thanx :slightly_smiling_face: working now |
# |
Jan 15th 2018, 11:15 |
jotpe |
thanks @neon1024 I had a look at https://getcomposer.org/doc/03-cli.md#environment-variables but i think i have to play around a bit... :slightly_smiling_face: |
# |
Jan 15th 2018, 11:08 |
neon1024 |
@jotpe Sounds like a job for an environment variable |
# |
Jan 15th 2018, 11:07 |
jotpe |
hey folks. since i didn't found a answer: is there any possibility to run composers `post-update-cmd` for _production_ or _development_? |
# |
Jan 15th 2018, 11:05 |
maymeow |
now looking |
# |
Jan 15th 2018, 11:04 |
neon1024 |
Have a look at `this.$emit()` in the docs |
# |
Jan 15th 2018, 11:02 |
neon1024 |
The main instance will need to bind something to that event |
# |
Jan 15th 2018, 11:01 |
neon1024 |
Then your component will need to emit an event to the parent from inside your axios function |
# |
Jan 15th 2018, 11:01 |
neon1024 |
There is a slack channel for Vue.js I’d recommend joining |
# |
Jan 15th 2018, 11:01 |
maymeow |
i need to change it after component is complete with his request |
# |
Jan 15th 2018, 11:00 |
neon1024 |
https://vuejs.org/v2/guide/instance.html#Instance-Lifecycle-Hooks |
# |
Jan 15th 2018, 11:00 |
neon1024 |
Use the `created()` method in the Vue instance to change `this.loading` to `false` |
# |
Jan 15th 2018, 10:59 |
maymeow |
https://github.com/MayMeow/sandbox/blob/add-users/resources/js/app.js and component https://github.com/MayMeow/sandbox/blob/master/resources/js/components/PostViewComponent.vue App is combination VueJS + CakePHP |
# |
Jan 15th 2018, 10:57 |
maymeow |
HI all. How can i hide loading with vueJS when request is complete??? |
# |
Jan 15th 2018, 10:40 |
saeideng |
'Mail' in debug_kit? |
# |
Jan 15th 2018, 10:17 |
justrohu |
Hello all, I am getting a Unable to find 'Mail' panel error ... I have just switched my CakePHP 3.3 setup to new VPS ... please help me understand this |
# |
Jan 15th 2018, 09:27 |
neon1024 |
hi... |
# |
Jan 15th 2018, 09:27 |
james-mk |
hi we recently moved from apatche to nginx after the move sometime records is coming from database but sometime not records coming , i need to refresh 3-4 time and their is no ajax to fech data from server its happenig on every pc not for one my application is in cakephp 2 |
# |
Jan 15th 2018, 09:24 |
neon1024 |
Morning all |
# |
Jan 15th 2018, 09:21 |
manishmk |
hi we recently moved from apatche to nginx after the move sometime records is coming from database but sometime not records coming , i need to refresh 3-4 time and their is no ajax to fech data from server its happenig on every pc not for one my application is in cakephp 2 |
# |
Jan 15th 2018, 09:05 |
kitcat711_ |
hello, looking for best practices for building an email notificaiton system, what would you recommend (doc, tuto, guide)? |
# |
Jan 15th 2018, 08:58 |
manishmk |
hi we recently moved from apatche to nginx after the move sometime records is coming from database but sometime not records coming , i need to refresh 3-4 time and their is no ajax to fech data from server its happenig on every pc not for one my application is in cakephp 2 |
# |
Jan 15th 2018, 08:55 |
birdy247 |
set it to dirty etc.. |
# |
Jan 15th 2018, 08:55 |
birdy247 |
tried all the usual tricks |
# |
Jan 15th 2018, 08:49 |
birdy247 |
but the records are not deleting |
# |
Jan 15th 2018, 08:49 |
birdy247 |
I have a saveStrategy set to "replace" |
# |
Jan 15th 2018, 08:48 |
learningcake |
$check = $this->Stores->find('all',['Stores.user_id'=>$user,'Stores.created + INTERVAL 30 DAY <' => Time::NOW() ])->toArray(); sorry this is the correct code I am using '<' Time::Now() |
# |
Jan 15th 2018, 08:44 |
learningcake |
Good morning House. I tried selecting columns whose data range from timecreated to a 30days interval but it seems not to be working. What am I doing wrong? here is my code $check = $this->Stores->find('all',['Stores.user_id'=>$user,'Stores.created + INTERVAL 30 DAY >' => Time::NOW() ])->toArray(); |
# |
Jan 15th 2018, 00:06 |
jarard |
anyone here? |
# |
Jan 14th 2018, 12:22 |
saeideng |
https://github.com/cakephp/app/blob/master/src/Controller/AppController.php#L44 |
# |
Jan 14th 2018, 12:12 |
maymeow |
adn add to your controller (if its actual) ``` public function initialize() { parent::initialize(); $this->loadComponent('RequestHandler'); } ``` |
# |
Jan 14th 2018, 10:37 |
jack_sonu |
i dont want to instal CRUD plugin so i skip this step |
# |
Jan 14th 2018, 10:34 |
saeideng |
https://pastebin.com/FesjCZ80 |