i’m speaking about the opening page of my application. i have an add action in ArticlesController that i placed a form for it in default.ctp and it works. i also want to have a form for MessagesController in my default.ctp to get messages. you said it’s the core template and should not contain any controller related variables. you mean it’s not secure to have a from in there? because i prefer my application to be user-friendly and users be able to do what they want in the homepage and don’t need more clicks
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Calling controller function from ctp file | 1 | 8935 | September 12, 2016 | |
| Cakephp 3 x call controler action in view(ctp file) | 3 | 6868 | September 2, 2016 | |
| How to access a controller inside a folder | 2 | 3507 | March 1, 2017 | |
| How to load another model ctp file in another one controllor? | 2 | 1408 | May 10, 2018 | |
| Create controller, model and view | 3 | 767 | September 2, 2016 |