Posts by Anderson Brunel Modolon • 1,111 points
57 posts
-
1
votes2
answers931
viewsQ: Remove specific input file Multiple type="file"
I input as follows: <input type="file" id="arquivos" name='arquivos[]' multiple onchange="funcao_listar()"> Where after clicking the button and selecting the various files to upload it lists…
-
0
votes1
answer28
viewsQ: Current version of Prestashop recommended for migration
I will switch to a more current version of Prestashop. I need to use the modules for Secure Pag, Paid Market, Paypal and FK modules (or equivalent). What is the latest version where these modules…
-
2
votes1
answer83416
viewsQ: Send a message to Whatsapp via site
I wonder if there is how to send message to Whatsapp through website. Example: The customer is there on the site and there is a field to enter a message and click "send" and I receive the message on…
-
0
votes1
answer199
viewsA: Counting of items in the cart
If in place of for use a foreach ($array as $produtoCarrinho) may solve your problem.
-
0
votes1
answer275
viewsA: PRESTASHOP - How to make attributes and features appear in the Front-End?
The "Layered Navigation Block" module solves my problem. I leave the answer if someone also has the same difficulty. Sincerely yours, Anderson
-
0
votes1
answer275
viewsQ: PRESTASHOP - How to make attributes and features appear in the Front-End?
I registered some categories, I put them in the menu, then I registered the attributes and characteristics, I registered some products and made the associations but the attributes do not appear when…
-
0
votes1
answer430
viewsQ: Cordova: Ajax works in browser but not on Android device
I need to make an ajax request using Cordova in visual studio, and ajax through Jquery. When I test through the browser works correctly, but when I test Android it returns error with stauts "0" and…
-
-1
votes1
answer183
viewsQ: JSON communication between domains with Cordova
I need the application to communicate with a server via JSON to log in. How to do? Obs: Just a simple communication via JSON using Cordova, where the answer was very enlightening.…
-
0
votes0
answers94
viewsQ: QR CODE reading with Cordova
How do I read a QR CODE through Cordova? I’ve seen several indications of plugins but none worked. Obs: I’m developing using Visual Studio (I don’t know if there is any influence, so the…
-
0
votes1
answer80
viewsQ: Mobile Framework for Development in Cordova
I am developing a hybrid application that uses Cordova and I need solutions for the graphical part of the APP. In principle I think about using Bootstrap, but as I have little knowledge in mobile…
-
0
votes2
answers885
viewsQ: Set permissions for app at runtime
There are some app’s that when we will open for the first time it asks the user for permission to activate certain device features such as camera, contacts calendar, etc... How to make the…
-
0
votes1
answer157
viewsA: Integration of Prestashop with ERP
I found the solution in these two manuals: http://doc.prestashop.com/display/PS16/Webservice+Parameters http://doc.prestashop.com/display/PS16/Web+service+one-page+documentation…
-
0
votes2
answers1722
viewsA: Select and delete duplicate records by last update date?
I found the answer Let’s assume, all records where there are records with more than 2 repetitions: SELECT nome, valor, dt_add, dt_update, COUNT(*) FROM configuracoes GROUP BY nome HAVING COUNT(*)…
-
1
votes2
answers1722
viewsQ: Select and delete duplicate records by last update date?
Among the fields in the table there is the name field, the dt_add field which is the date that the record was inserted and dt_update which is the date of the last update of the record. I would like…
-
1
votes1
answer157
viewsQ: Integration of Prestashop with ERP
I need integration of Prestashop orders, customers, products and price changes/promotions with ERP. In this case the objective would be the following: 1 - When making a sale or registering/editing…
-
0
votes1
answer126
viewsA: Problems and questions with sending Ajax and Php form data
Try this solution: In the HTML part: <input name="nome" id="campo_nome" type="text"/> <input type="hidden" name="acao" id="campo_acao" /> <button id="btn_enviar"…
-
-2
votes3
answers575
viewsQ: EPSON non fiscal thermal printer does not work in a shared way with USB and LPT
I am creating a system in PHP and we are entering the printing phase with non tax thermal printers. In principle I did not find Epson support for PHP printing and in researches I found the component…
-
3
votes1
answer1850
viewsQ: List network printers with PHP
I need all printers on the network to be listed in my application for configuration purposes, but so far I’m finding it difficult to do. At first I’m using Windows on the application server, but I…
-
1
votes1
answer241
viewsQ: Accent php - Firebird
I’m making a web module for an old system that uses Firebird. I made the connection using PDO, but when I do a query using some special character it does not return results. If you don’t use a…
-
0
votes0
answers65
viewsQ: Online application communicate with a local computer?
How do I get an online web application to communicate with a local computer? The goal is to send data to a local computer, and in principle I thought to send using Jquery/Ajax. It would have to do?…
-
2
votes3
answers950
viewsQ: Local communication through online application
I am developing a system for ordering a snack/pizza shop. Let’s assume that the waiter makes the order with the Tablet (Android) at the customer’s desk or the customer goes and makes the request at…
-
1
votes1
answer41
viewsA: How can I select to show only the first 4 records
Use the command LIMIT to define the amount of records. Query with the first 4 records (displaying the next 4 records from Intel Zero): SELECT * FROM tabela LIMIT 0, 4 Query the 5th record to the 9th…
phpanswered Anderson Brunel Modolon 1,111 -
0
votes1
answer70
viewsA: Using $_SESSION for temporary image exchange
You can try this way: session_cache_expire(180000); session_start(); Or do through cookies: setcookie('logo_cookie', $_SESSION['logo'], time() + 60 * 60 * 24); and when it’s time to show: $imgArray…
-
0
votes1
answer66
viewsQ: FREE tool for Wireframe
Among the various tools found when researching about it, could anyone indicate a good FREE tool for creating wireframe? The focus and system development for web. Note that I do not seek the best,…
-
0
votes3
answers2735
viewsQ: How to change google’s cache to a redesigned website
There is a site where your options are in Google search results, only it turns out that the site has been completely redesigned, as well as its options and contents. When the search is performed,…
-
2
votes1
answer224
viewsQ: Better performance/performance: Smarty, Twig or any other?
Although in general the systems of templates for PHP are used for other purposes, such as separating business rules, etc. Which one provides better performance for website loading/performance (or…
-
1
votes1
answer415
viewsA: What tools/frameworks are available to create a restful PHP API?
Slim really makes it easier, but I suggest you take a look at Silex, which is a microframework built based on the components of Symfony2, being as easy as Slim, but with more features.
-
2
votes3
answers101
viewsA: Is there any justification for this change? Change in variable pattern
I believe that if he is programming ALONE in a project he could do the way he thinks best, but since there is a team, there must be rules and standards established and agreed with it at the…
-
-2
votes1
answer118
viewsQ: A strange case in the management of a project. What position to take?
The issue is related to project management, where this was the best (perhaps only) way to expose my doubt before the situation. I agree that it was a little long, but I found no other way to focus…
-
2
votes2
answers473
viewsQ: End of ASP.NET Webforms?
I wonder if there is a certain trend in ASP.NET Webforms if "retire", leaving only ASP.NET MVC, because according to this article the answer would be yes. The author of the article (Ramon Durães) at…
-
3
votes1
answer2399
viewsA: MER - Entity and relationship model
This depends a lot on the information flow/business rules of your application. For example, if needed more than one address, there could be separate address and client table. In general (with…
-
4
votes2
answers1140
viewsQ: Protect ASP.NET source code (aspx)
I have a question regarding ASP.NET: In the case of PHP when an application is placed on the server means to put the source code of the same. In the case of ASP.NET, (specifically C# with pages in…
-
1
votes3
answers334
viewsA: Error using LIKE to search by name
Check in this part the lack of an "AND" (or other operator) which may be the source of your error: sql.append("WHERE\n" + " Pessoa.Tipo = 2" + " AND Pessoa.Nome LIKE ? ");…
-
2
votes1
answer1158
viewsA: Passing $_POST through the URL
What I understand is you need to pass data from a form to iframe dynamically. As the data comes via POST, soon would come in format $_POST['nome_campo'] = valor. In case you make a $variavel = '';…
-
2
votes1
answer392
viewsQ: JSON-RPC or RESTFULL?
Between developing an API using JSON-RPC or REST (RESTFULL), I would like to know in which cases there are advantages/disadvantages in using one or the other. OBS: This may be through…
-
0
votes1
answer139
viewsQ: DAO layer with two tables
My doubt when working with the layer DAO next: As far as I was informed, each table would refer to an object DAO. But suppose it is necessary to make an appointment with select / JOIN that is, that…
-
0
votes2
answers502
viewsQ: Layers to develop web service
I am developing using REST (with Restfull API), where I think of using two layers in the system: BLL and DAL. BLL => Would be the layer referring to business rules. DAL => It would be the…
-
2
votes2
answers54
viewsA: What is the right way to add a button to the php file
Look for more html and less php. An example: .... ?> <button type="button" class="btn btn-default btn-lg <?php echo $algumaClasse; ?>"> <span class="glyphicon glyphicon-plus"…
phpanswered Anderson Brunel Modolon 1,111 -
3
votes1
answer356
viewsA: How to put date field in the registration of a product?
A solution would be for you to register the attribute group "Expiration date" with these values and then add the attribute corresponding to each product where it becomes necessary. You must register…
prestashopanswered Anderson Brunel Modolon 1,111 -
0
votes1
answer1467
viewsA: Automatic print after HTML is loaded with Angularjs
The answer found window.setTimeout(function() { window.print() }, 0); is valid as not only according to this link that I had put, but in this another answer is placed: Async invocations, such as…
-
2
votes1
answer1467
viewsQ: Automatic print after HTML is loaded with Angularjs
When clicking a button to print a report, it should consult with Angularjs some information in the database and then execute the command to print ($window.print()) after the page is already loaded…
-
2
votes1
answer1128
viewsQ: Release subdirectory through . htaccess
How do I release a specific subdirectory (and all its files) via . htaccess? How do I use "friendly url" and through .htaccess I block everything that does not suit, I would like to know how to…
-
1
votes1
answer40
viewsQ: Font Awesome has CSS Reset?
When using Bootstrap for example, it has an internal CSS Reset. The same thing happens when using Font Awesome? If you use Font Awesome in a project, you will need to add some CSS Reset or it…
-
1
votes1
answer427
viewsQ: Associate commit to Bitbucket Issues
With Bitbucket it is possible to work with "Issues", in which case it could be used as "tasks/bugs/etc...". My question would be whether it is possible to associate one or more commits to a…
-
3
votes1
answer5101
viewsA: How to take Jquery value and pass to PHP
A mess would be to pass to php via ajax. Try this: function passarVariavelJQueryParaPHP(valor){ $.ajax({ type : 'post', url : 'teste.php', data : 'variavel ='+ valor, dataType : 'html', error:…
-
1
votes1
answer9997
viewsA: input date Html5
Try this: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8" /> </head> Here is an example using the en datepicker, where it is available at: link github…
html5answered Anderson Brunel Modolon 1,111 -
11
votes5
answers838
viewsQ: Is it possible to integrate GIT with some task manager?
Is there any way to integrate some task manager (let’s say, Trello) where the developer, when giving a commit in his activity, makes the association of the same with some specific task? In research…
-
2
votes2
answers3807
viewsA: What’s the best language for Restful?
REST is a style of architecture, and Restfull is a web service that uses this paradigm. As you know PHP, gives a check on SLIM and SILEX that are two micro-framework’s that facilitate the use of…
-
1
votes3
answers754
viewsA: How to update a DIV with PHP
$('#botao').click(function(){ $.ajax({ type : 'post', url : 'teste.php', data : 'nome='+ $('#campo1').val() +'&sobrenome='+ $('#campo2').val(), dataType : 'html', success : function(resultado){…
-
1
votes0
answers1501
viewsQ: Sync facebook photo album on website
In a project of a web site a client asked me if it is possible to register his photos on facebook and the same be updated/synchronized in their site, because as they work with events, it would be…