Posts by Renan Rodrigues • 3,709 points
283 posts
-
0
votes1
answer458
viewsQ: Fragment with recyclerview closing application
Let’s go I need to make one fragment where information will come from little to little, I am using the method of RecyclerView to develop this. The whole idea is to get comments from a certain item.…
-
0
votes0
answers261
viewsQ: Problems with startActivity error Channel is unrecoverably Broken and will be disposed!
My application is closing unexpectedly while doing a button event in the top menu. When this happens nothing is appearing in the Logcat I’m following the pattern like this: Within a activity I put…
-
0
votes1
answer29
viewsQ: Problems with multicones in the android menu
I’m trying to create two buttons but it’s only working when I click one of the buttons. My Activity is as follows: <?xml version="1.0" encoding="utf-8"?> <menu…
-
1
votes1
answer102
viewsQ: Error synchronizing grandle with mask library for fields
I’m trying to install a dependency to mask fields but when adding it, I have problems, in the log appears the following message: Error:Execution failed for task ':app:processDebugManifest'. Manifest…
-
2
votes2
answers4903
viewsQ: Setando mask android phone field
I’m trying to automatically set a mask to the field, I don’t know any other way to do it, I’m doing it like this: if(s.equals('(')){ edtCelular.setText(texto); }else{ texto = "(" +…
androidasked Renan Rodrigues 3,709 -
0
votes1
answer276
viewsQ: Opening external website in android studio within a list item
Good need to open an external link for example: https:www.google.com However it should stay within a litem of menu list (side menu). To open the Fragments I use the position of the item, there are 7…
-
1
votes1
answer39
viewsQ: Application closing unexpectedly when sending post request
Well I’m developing a screen using the holder view and in it I am sending a JSON to the server, but it has been a problem. By clicking the send button it simply closes the application, and in the…
-
3
votes1
answer4474
viewsQ: Many Relationship for Many
Well I tried to read the documentation and develop this relationship but could not, actually I need to inform what is the name of the type of user. The database model is thus : MODELS involved…
-
1
votes1
answer332
viewsQ: Discovering last vector item in the foreach?
I need to know what is the last item of the vector so that when it is the last one does not add a comma: Example: SEM SABER QUAL É O ULTIMO ITEM 1,2,3,4,5, SABENDO QUAL É A ULTIMA VIRGULA 1,2,3,4,5…
-
1
votes0
answers659
viewsQ: Problems with print layout
I’m having trouble putting together layout for printing on Elgin i9, mount the script on laravel 5.4 thus: $produto = Produto::find($request->input('COD_IDENT_PRODU')); $qtd =…
-
0
votes1
answer2168
viewsQ: Set DOM paper size PDF
I need to set the paper size of the DOM PDF for 80x550mm I need to print on my non tax printer Elgin i9 I’m riding php like this: $documentTemplate = ' <!doctype html> <html>…
-
0
votes1
answer592
viewsQ: Possibilities input Mask with jquery lib
I’m using the input-maks to put a mask on the field but I’m having the difficulty of setting a value, for example in my mask I put 'data-mask'=>"00000,00" referente ao campo decimal(5,2); But if…
-
0
votes0
answers58
viewsQ: Problems with Laravel 5.2 routes and AWS EC2 server
I’m having trouble getting my project up to hosting, when access to the service via localhost everything works perfectly, but when I upload my project to the server it presents the error: My…
-
2
votes2
answers613
viewsQ: Adding data tags to the jquery button
I need to add tags data to my button when I pass the mouse over it, I’ve managed to catch the movement of mouse hover now I need to add the tags, who are: data-trigger="hover" data-toggle="popover"…
-
1
votes2
answers319
viewsQ: Add title when hovering over event
I need that when passing the mouse I can see the name of the event, at the moment if the name is too big I can not see, as in the example below: I’m using the fullcalendar to manage my event…
-
0
votes1
answer115
viewsA: Custom data in full Legend jquery
I found my mistake, I was at the end of the id missing one , then the resolution was: title: '{{$reuniao->TXT_TEMAX_REUNI}}', start: '{{$reuniao->getStart}}', allDay: true, id:…
-
0
votes1
answer115
viewsQ: Custom data in full Legend jquery
I need to upload custom data to full calendar jquery, such as the id of that event. I tried to do so: title: '{{$reuniao->TXT_TEMAX_REUNI}}', start: '{{$reuniao->getStart}}', allDay: true, id:…
-
0
votes1
answer181
viewsQ: Send form to controller with ajax
I need to send a formulario with ajax, so that there is no recharging of página. In case there’s no way, I need the screen to go back to where it was. On the website I have these tabs, the tab where…
-
1
votes1
answer476
viewsQ: Problems with Jquery Fullcalendar dates
I’m having trouble with the save dates at the bank. In order for me to save the date it should come like this: 2017-01-09 19:39:12 But she’s coming like this: Thu Jan 05 2017 00:00:00 GMT+0000 The…
-
0
votes0
answers248
viewsQ: Place a site with Laravel on AWS EC2
Good am new in this type of environment I need to put an online website in Amazon Web Service EC2 but I’m not getting. I tried to change the document 000-default.conf to the folder /www/public which…
-
2
votes2
answers430
viewsA: Install PHP 7 on the AWS EC2 Linux server
I managed to solve with some tips. The first is there is a command to check which versions of PHP have available, to perform this command just : $ sudo apt-cache search php So I found that I had to…
-
0
votes2
answers430
viewsQ: Install PHP 7 on the AWS EC2 Linux server
I am executing the following command: sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt My intention is to install PHP, but this turning the error: >Lendo listas de pacotes... Pronto…
-
3
votes1
answer273
viewsQ: Problems with session Standard 5.3
I’m having trouble setting and picking up items from a sessão, in this case I am setting which page should mark in the menu as active. In the __contruct of mine controller I’m doing like this:…
-
0
votes1
answer4468
viewsQ: Working with fullcalendar jQuery
Good need to release the click on the event, when clicking, I will have to give option to edit the event, the information of it, plus the option to delete this event. Fullcalendar Website On the…
-
6
votes4
answers3460
viewsQ: Take letters from name string
I need to take the first letter of the name and the first letter after the space, in case it would be like this: $string = 'Renan Rodrigues'; Expected result: 'RR'; How to do this ?…
phpasked Renan Rodrigues 3,709 -
0
votes0
answers99
viewsQ: Uploading files with fileinput
I’m using the fileinput of this website Bootstrap: fileinput.js v3.1.3 and I need to get my BLOB of the image uploaded when submitting the form. I observed that by doing the uplod from some image to…
-
1
votes1
answer268
viewsQ: Problems deleting via ajax with Laravel
I’m having trouble effecting a deletion with Laravel 5.3. By submitting the ajax it simply is not returning me anything. Man JavaScript is like this: $.ajaxSetup({ headers: { 'csrftoken' : '{{…
-
3
votes3
answers112
viewsQ: DOM search for positive name and value
I need to search DOM for name and value. I’m trying to do it like this $('input[name=FLG_SEXOX_CLIEN value="{{ $cliente->FLG_SEXOX_CLIEN }}"]').attr('ckecked').trigger("chosen:updated"); However…
-
2
votes2
answers1150
viewsQ: Group items by month and count them
I need to group and count all items by mês. Utilise Laravel 5.2, tried to do so: $mes = date('m'); $vendas = Encomenda::where('FlgStEncomenda', 'O') ->group("MONTH(created_at)={$mes}")…
-
1
votes1
answer212
viewsQ: Creating the bank with Migration Adjustable
I know with migration I can create the tables, but it has some form of automates even the creation of the bank with the migration to follow as basis I use the Laravel 5.2…
-
2
votes1
answer2272
viewsQ: Object of class Illuminate Database Eloquent Builder could not be converted to string. Standard 5.2
I’m having problems with a relative search on Laravel. I give option of several searches on the screen, are they: initial date final date status, and whose is but one can search in a unitary way,…
-
2
votes1
answer236
viewsQ: Picking up monthly items ELOQUENT MODEL
Well I need to make one query where I have to bring all the listed items of the month in which we are. In the query I’ve done I’m bringing them all with status O of OK: $vendas =…
-
0
votes3
answers12182
viewsQ: Center table on latex page
I’m having trouble centralizing a table on latex. She’s eating this text the following way: In my code I programmed like this: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % APÊNDICE %…
latexasked Renan Rodrigues 3,709 -
1
votes1
answer308
viewsQ: Problems with csrf_token Laravel
Good understand the functioning of csrf_token but I’m having trouble with him. For example when I am about 5 minutes inactive without working on the site and try to log in, it informs me that I have…
-
3
votes1
answer103
viewsA: Problems with auth::Routes
I found the problem, what happens is that I have been working with the framework of several versions for this reason I made a mess when using the command. in the version 5.3 is: Auth::routes();…
-
4
votes1
answer103
viewsQ: Problems with auth::Routes
I’m having trouble with Auth::routes() use the framework Laravel in the version 5.2 my route archive is like this: Route::singularResourceParameters(); Auth::routes(); Route::group(['middleware'…
-
2
votes0
answers96
viewsQ: Doubts relationship too much for many
I have the following relationship: My doubt comes in the programming of the ordering model: class EncomendaProdutos extends Model { use SoftDeletes; protected $fillable = [ 'CdEncomenda',…
-
2
votes1
answer1254
viewsQ: Receiving an ajax request with Laravel
I am having problems in recovering the data sent by my ajax to the laravel. Man ajax is like this: var id = $(this).siblings(':hidden').val(), qtd = $(this).val(), dataUser = { "id": id, "qtd":…
-
3
votes1
answer127
viewsQ: Get sibling id of the item that effected event
I have a table and within the <td> I have two input: <input id="CdProduto" value="15" hidden> <input type="number" value="2" class="form-control"> I need when to change the value…
-
1
votes1
answer35
viewsQ: Doubts about requests and Returns
I have 2 different pages but access the same control. The idea is that I recover which page made the request, because depending on what it takes the two different returns. Ex. I have a button to…
laravel-5asked Renan Rodrigues 3,709 -
1
votes1
answer59
viewsQ: Object only becomes available when I give dd()?
I am setting an attribute of an array, it is accessible only when giving dd() I do so: dd($categoria->categoria->NmCategoria) It works if I do it the natural way like this:…
laravel-5asked Renan Rodrigues 3,709 -
0
votes1
answer890
viewsQ: Image blob and cache problems
I’m having trouble with images BLOB, programming is being done with the framework Laravel in versão 5.2. The mini world is next: I upload the file and save only one BLOB, I don’t do any size…
-
1
votes2
answers786
viewsQ: Count lines
Good am using Laravel 5.2 and I have much doubt to count the lines related to my research. I need to return the number of products within Categorias and SubCategorias. My relationship is as follows,…
laravel-5asked Renan Rodrigues 3,709 -
1
votes1
answer495
viewsQ: Auth always returning false
Well I’m developing a login own and in it I have others campos and another tabela, everything goes perfectly but always returns result false. I changed the file Authenticatable.php inside…
-
1
votes0
answers121
viewsQ: JSON request comes full page
I have problems with the requisição JSON, she’s returning the html of the full page being that my request is of a JSON. I’m using framework Laravel in versão 5.2 I make my request like this: $curl =…
-
3
votes2
answers145
viewsQ: Object property from JSON is not accessible
Well I’m working with the framework Laravel in versão 5.2 I’m developing a API where I have a Painel administrativo that produces and manages the content in the case in question produto, and I have…
-
3
votes1
answer165
viewsQ: Problem with each jquery
I’m getting via JSON one array, I walk him with the .each() of JQUERY, so I mount my html, and I put it in a div within my page. All this said is done: $.getJSON('http://localhost:8000/produtos',…
jqueryasked Renan Rodrigues 3,709 -
1
votes1
answer7571
viewsQ: Each in JSON jquery date
I’m trying to walk a array de objetos with jquery I’m doing so: $.getJSON('http://localhost:8000/produtos', function(data) { $(data).each(function (item) { console.log(item);…
jqueryasked Renan Rodrigues 3,709 -
1
votes1
answer940
viewsQ: Ajax request for server
My minimum is the following, I am developing an API for a bakery, where it may be on the same server or different server, I am using the framework laravel in the version 5.2.*. In order to…
-
3
votes1
answer994
viewsQ: Call to Undefined method Illuminate Database Query Builder::lists()
I’m having a problem creating a list of types for my project, for some reason in others Controller worked perfectly but in this unfortunately not. I’m doing the method create of my Controller public…