Posts by Lucas Thibau Paulino • 143 points
23 posts
-
0
votes3
answers1716
viewsA: Embed Mute Youtube Video
Add to your script: player.mute()
youtubeanswered Lucas Thibau Paulino 143 -
0
votes1
answer333
viewsA: Select populated via ajax when selecting value from another select by sending null to php
The solution was to remove the disabled before sending the data.
-
1
votes0
answers210
viewsQ: Unknown server error after updating the cake vendor folder
While updating files from my vendor folder on the server I had the following errors: Fatal error: Call to Undefined method Cake View Widget Selectboxwidget::outputError() in…
-
0
votes1
answer52
viewsA: Cakedc/Users - Types of users
How the steinkel got through that hole: https://github.com/CakeDC/users/issues/513 Just add this line after pathEntity in /vendor/cakedc/user/src/Controller/Traits/Simplecrudtrait.php…
-
0
votes1
answer52
viewsQ: Cakedc/Users - Types of users
I have deployed the Cakedc/Users authentication plugin and want to add other types of users to my system. Currently I only have the two default permissions: superuser and user. I am controlling…
-
3
votes1
answer3618
viewsA: object inside javascript object
Very simple, just declare an object inside another. var conta = { ag: '0000', banco: { cod: 033, id: 9, nome: 'Santander' } } Simple documentation: https://www.w3schools.com/js/js_objects.asp…
javascriptanswered Lucas Thibau Paulino 143 -
0
votes2
answers4281
viewsA: Change the value of a variable through another component [ANGULAR 2]
The solution adopted was as follows: I had to create a service to suit my two components, in that service I used the emission of events (Eventemitter). window.service.ts import { Injectable,…
-
0
votes2
answers4281
viewsQ: Change the value of a variable through another component [ANGULAR 2]
I have a boolean variable declared inside a window component, this variable serves to print/hide a link that is in the header. I want to,change the value of that variable from a second component, in…
-
1
votes3
answers1993
viewsA: Exchanging TAG with Javascript
I’m not sure about changing the tag, but you can add an Hidden class and remove another Hidden class with addClass() and removeClass() from jQuery. Ex: <div style="hidden"…
-
1
votes1
answer44
viewsA: My bootstrap logo is too big and the rest of the menus have a large empty space
We need your code to be sure. I believe your links are calling the class nav navbar-nav navbar-right Just remove the navbar-right class and the content will come to the side of the logo right away.…
-
0
votes4
answers66
viewsA: Help with PHP and Mysql
The correct thing would be to create a new table to address this issue. But the way you’re doing, I’ve seen them do it very similar for reporting using json_encode and json_decode.
-
0
votes1
answer145
viewsQ: Set variable to template
I need to define a variable that will be displayed in the footer of all my pages, ie in the cake 3 template. Any ideas?
-
0
votes1
answer167
viewsA: How to use 2 or multiple connections in Cakephp 3.x?
Inside your Appcontroller, insert the two forms of connection (don’t forget to keep the standard format of cake there in the app.php with the database you will use the most - to make your life…
-
1
votes1
answer55
viewsQ: Server with intermittent time
I have an external PHP server that has generated some time problems, sometimes it generates the correct time (eg: generates 17:00 to 17:00) and other times it generates with two more hours (ex:…
-
1
votes1
answer333
viewsQ: Select populated via ajax when selecting value from another select by sending null to php
I have a select that fills another select via ajax, all values are filled correctly, but when saving, it sends null. First select: <select name="clientesel" class="form-control…
-
3
votes3
answers269
viewsA: I need to sort a list in order that seems unusual
You will have to go through the string looking for the point for each record and then sort it with the initial code and then sort it again with the final code. A little boring to do and depending on…
-
0
votes1
answer82
viewsA: How to insert a variable into an array?
You can use the array_push to solve the problem.
-
0
votes3
answers340
viewsA: Responsive alignment on footer
It takes the text content out of the CSS, it goes against all possible good practices. Put him in his own div with content due, if it’s to be hidden or anything like that, use @media as his friend…
-
1
votes1
answer46
viewsQ: Query does not return all record data
The following query returns the correct record, but missing items on its return. $nota = $this->Nota->find('first', [ 'conditions' => ['id' => $numero, 'serie' => $serie ] ]); For…
-
0
votes2
answers611
viewsA: Fix rows in table
Personally I would use a div fixed at the top with a table with the headers and below another div with the table with content, so the scroll is easy and created by the browser itself.
-
1
votes2
answers131
viewsA: Recover typed URL
Arrow in a variable like this: $link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; Documentation: http://php.net/manual/en/reserved.variables.server.php…
phpanswered Lucas Thibau Paulino 143 -
0
votes1
answer36
viewsA: Do not reassemble columns on the bootstrap grid
There are several plugins that already do this for you very easily, matchHeight, equalHeight and so on. http://getbootstrap.com.vn/examples/equal-height-columns/…
-
1
votes1
answer249
viewsA: Remote changes in branch not coming to location
Make sure you’re using the right branch. You can download all branches from a repository, but you need to select which one to use. In this case, if the changes are in master, you will use them by…