Questions tagged as 'cakephp'

0
answers

Passing sql in array index CAKEPHP

I need to do 3 queries, if x icon is enabled, make X query. If it is the y icon, query y. If the 2 are, I want everything from the query x and y. I can get the query x and y, but at the time of getting all of the 2 queries I can not. Ifs t...
asked by 01.06.2015 / 17:21
0
answers

Cake PHP - Form in view index.ctp

I have views: index.ctp , add.ctp , edit.ctp . Generated via modified Bake and everything, now what I need is that in the index view, when I click ADD NEW or EDIT, instead of going to the respective view, only displaying...
asked by 02.07.2015 / 11:22
2
answers

How to use user informed search conditions (not required)

My question is a little complicated to explain, but come on. I have several checkboxes, where it is not mandatory to select them to do the search, just are search parameters, my question, how to do this "relative search"? Parameters are the chec...
asked by 11.05.2015 / 21:42
1
answer

.htaccess does not allow entering folders

I have a website in CakePHP and its correct htaccess correctly. The problem occurs because I created an additional domain in the hosting and as usual, it creates a folder in public_html to put the files of this new domain getting f...
asked by 29.05.2015 / 20:19
0
answers

Redirect if not logged Auth CakePHP

I have a small question. I configured the beforeFilter correctly to allow access to the actions due. My question is the following. When I try to access a certain action in a particular controller, the application is directing me to ... adm...
asked by 20.04.2015 / 17:03
0
answers

How to pass a vector from a view to a controller?

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...
asked by 26.01.2015 / 13:03
0
answers

How do I debug (display errors) on a system that uses MooTools?

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...
asked by 06.03.2015 / 17:49
1
answer

Log in restricted area of external site [closed]

Hello. I have a site with login form and I want the user to be redirected to the restricted area of another site, which was done using CakePHP     
asked by 20.02.2015 / 17:20
1
answer

Error saving data

I'm learning how to use Cakephp, and I'm trying to make a tool for uploading images using Cake 2.4.4. the problem is that only the modified and created fields are inserted into the database, although name and size sho...
asked by 20.05.2014 / 19:00
1
answer

Route + Pagination - Cake 2.x

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 {...
asked by 06.02.2015 / 20:49