Questions tagged as 'cakephp'

1
answer

Error sending Mail Cakephp 3.x

How are you ?, maybe someone around here had the same problem when sending an email configuring an email account created in hostgator for which I have the following in my application 'EmailTransport' => [ 'default' => [ 'clas...
asked by 25.09.2016 / 00:46
1
answer

Menu with boostrap

I'm creating a drop-down menu and it does not show me, I do not know why, look here the code: Default.ctp <?php /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https...
asked by 09.04.2018 / 23:07
1
answer

Create administrator in cakephp

Good morning, I have a problem, the administrator user thinks, but the page does not work for me, here are the codes: These codes are copied from the cake book 2.x If I do this, it goes well: App::uses('Controller', 'Controller'); cl...
asked by 27.04.2018 / 17:14
1
answer

How to display the name field referenced by your ID in CakePHP 3.x?

I have three tables (Premises, Routes and Schedules): Local Table: id | nombreLocal -------------------------- 1 Local Uno 2 Local Dos 3 Local Tres Routes Table: id | id_local_origen | id...
asked by 07.06.2018 / 22:29
1
answer

Problems with cakephp 2.8.8 = Notice (1024): Element Not Found: Elements \ default.ctp [CORE \ Cake \ View \ View.php, line 425]

I have problems showing a notification message when I save, edit or delete boostrap to style the website, the code lines are as follows: The one above is the edit driver and the message that appears to me is this
asked by 21.10.2016 / 01:57
0
answers

Special characters on website made in cakephp

Hi, I am modifying a website designed in cakephp, but in a modal for whatsapp some special characters do not look good and I tried to do some things and nothing worked for me: <!DOCTYPE html> <html lang="es-ES"> <head> <...
asked by 26.09.2018 / 18:43
1
answer

convert query to CakePHP 3.5 [closed]

I need to calculate the ranking of users who have a score. For this I found in another thread the following query that I would need to translate to cakephp format 3.0 or 3.5: SELECT *, FIND_IN_SET(points, (SELECT GROUP_CONCAT(DISTINCT poin...
asked by 14.04.2018 / 18:03
0
answers

Problems grouping query in CakePHP

I need to ask a question for a portfolio module in accounting, I have a sales table where I am bringing all the data and I group them for each client and add up the total of each client, I need you to bring me a list grouped by client and below...
asked by 31.10.2016 / 14:36
2
answers

CakePHP does not cheat me styles

I have put the styles in webroot / css / estilos.css The home I have it in src / Template / Pages / home.ctp I call styles from home like this: <?= $this->Html->css('estilos.css') ?> But do not load them if I go to the pag...
asked by 10.06.2018 / 16:20
2
answers

Limit amount of results in CakePHP

I'm learning CakePHP and this doubt came to me, if I want to put my limit so that it has start and long range, what would it be like? $posts = $this->Post->find('all', array('conditions' => array(...
asked by 14.09.2017 / 17:03