I created a newsletter submission layout, called email.ctp , and put it inside the View / Layout directory.
My question is how do I use this layout instead of the default.ctp
I'm trying to make a form for sending an email. This is sent correctly and with the name of the person, which is inserted in the form, in the right place, in the subject of the email. However, neither the email that this person inserts, nor the...
I can not use the normal Ajax syntax in CakePHP . I've seen a few things about JsHelper , but I can not do what I want.
How can I call a action of controller by Ajax sending certain data and then receive the result of a...
I'm trying to delete records without having to refresh the page, however I'm not having success, the records erase but the table only updates if I give an F5, I'm trying to do this via ajax but it's not rolling, can someone give me a light ?
Her...
I'm trying to save associated data in Cakephp 3, in the database I have two tables tabela entidades(id, nome_principal) and enderecos(id, entidade_id, cidade)
In EntidadesTable I made the association:
$this->hasMany(...
As the code below, I need to make a table loaded with checked checkboxes, depending on the bank's data, for example:
Destino
_______________________________________
Origem | 1 | 2 | 3 | 4 | 5...
Using the following code:
$this->Html->link(
'Meus Dados', array(
'controller' => 'Groups',
'action' => 'index'
)
);
The HTML link is created normally, but if...