Posts by Marcos Henzel • 797 points
58 posts
-
0
votes1
answer2689
viewsQ: Postgresql: ERROR: Operator does not exist: bigint ~~* Unknown
I’m making a pagination filter in cakephp, but when I type in a phone number to search, it returns the following error: Error: SQLSTATE[42883]: Undefined Function: 7 ERROR: Operator does not exist:…
postgresqlasked Marcos Henzel 797 -
0
votes1
answer420
viewsA: Database error, not null Violation, I am passing all values, where am I missing?
My solution: After completing the form and submitting, returns the following array: array( 'User' => array( 'password' => '*****', 'nome' => 'Engenharia', 'username' => '[email protected]',…
cakephpanswered Marcos Henzel 797 -
0
votes1
answer420
viewsQ: Database error, not null Violation, I am passing all values, where am I missing?
After completing the form and submitting, returns the following array: array( 'User' => array( 'password' => '*****', 'nome' => 'Engenharia', 'username' => '[email protected]',…
cakephpasked Marcos Henzel 797 -
4
votes1
answer713
viewsA: How to put the scrollbar inside the body?
For Webkit browsers (Chrome, Safari, Opera 15+): ::-webkit-scrollbar { /* 1 */ } ::-webkit-scrollbar-button { /* 2 */ } ::-webkit-scrollbar-track { /* 3 */ } ::-webkit-scrollbar-track-piece { /* 4…
-
0
votes1
answer407
viewsQ: How to call an ACTION from a specific CONTROLLER via a Button?
Using the following code: $this->Html->link( 'Meus Dados', array( 'controller' => 'Groups', 'action' => 'index' ) ); The HTML link is created normally, but if I want to put a BUTTON in…
cakephpasked Marcos Henzel 797 -
1
votes1
answer67
viewsA: Relationship belongsTo
Resolved as follows: Really remained the same way: public $belongsTo = array( Status => array( 'className' => 'Status', 'foreignKey' => 'status_id_origem', 'dependent' => false, ), );…
cakephpanswered Marcos Henzel 797 -
0
votes1
answer67
viewsQ: Relationship belongsTo
I wonder if it’s possible to do this kind of relationship in the cakephp model, if it’s possible, show me how, because I’m not getting it. Way I need to: public $belongsTo = array( Status =>…
cakephpasked Marcos Henzel 797 -
1
votes3
answers9416
viewsA: Size and position of the Bootstrap Carousel on the page
Don’t forget to pay attention to the closing of double quotes " Double quotes were missing to close the call from data-ride="carousel" and after starting styling style ... The code informed by you…