I made the following validations in the Model:
class Inscricao extends AppModel
{
public $name = 'Inscricao';
public $useTable = 'inscricoes';
public $validate = array(
'nome' => array(
'between' => arra...
I have the following situation:
I have my application running with CakePHP 2.X, however the authentication system is external and I do not have access to it, the only thing I was given is the $ _SESSION variables made available by the server....
I've hit my head so far to try to understand how CakePHP's pagination works with Custom Query's but I have not had much success. This is the method I currently have, I want to make a paging on top of it, how to use Paginator in this situa...
I have a view that will print a report on the screen. I put a button and I'm doing a function to export this report to excel. My question is:
How to send this data in an array to my controller?
My button is like this, Via get I can only pa...
Alright?
I do not know JS in depth, but I need to debug a piece of code that uses MooTools. When I inform my code to write an array with print_r or debug (cakephp), nothing is displayed to me and on the console it looks like this:
SyntaxErr...
I have a "classic" question about paging. I did as below, everything worked normally, but I could not mount the route for the pagination to stay as I want.
I tried this:
Controller
class NoticiasController extends AppController {...
Hello.
I have a website running in cakephp on a server on the internet.
I'm trying to move to my local machine (Windows 8.1) where I already have xampp running with CakePHP in version 2.1.0.
I downloaded the entire site to the folder C: \ WebSer...
When trying to create an image as a link in cakephp using HtmlHelper, the HTML code is generated as String in the browser
<?php echo $this -> html -> link(
'Visualizar'
.$this -> html -> image('icone_visualizar.png').' | ',
ar...