Posts by WPfan • 786 points
98 posts
-
1
votes1
answer265
viewsQ: How to hide the arrow back in Xamarin?
In my mobile application I wouldn’t want there to be an option to go back to the home page, because if I do this, the person goes back to the login screen. How do I remove this arrow just from this…
-
0
votes1
answer86
viewsA: What is the difference between Toolbar.axml and Tabbar.axml?
Well, since no one answered, then probably most of the people who accessed it don’t either. Studying here the documentation discover that these two files Toolbar.axml and Tabbar.axml they are…
-
1
votes1
answer86
viewsQ: What is the difference between Toolbar.axml and Tabbar.axml?
I’m starting to work with Xamarin at Visual Studio 2017, and some things have changed. In the part of android when I go in layout I come across the two files Toolbar.axml and Tabbar.axml, I wonder…
-
0
votes1
answer65
viewsQ: How to make a button lock when clicking?
I have inside this bootbox, two buttons, on the first one written "Send Error Report" I wanted when the person clicked it to show a glyphicon indicating that it is processing the sending and made it…
-
0
votes2
answers581
viewsQ: How to change the default bootbox OK button name?
I am using the bootbox in my application and would like to know how to change the default name of Alert that is as OK, below my script: @section Scripts{ <script…
-
1
votes3
answers3242
views -
0
votes1
answer53
viewsQ: Because when I’m treating an error it doesn’t load the _Layout file?
I am doing an error handling using Json Result, when displaying the error message I should display the page formed as it rules in the _Layout file, so the page is loading all blank, does anyone know…
-
0
votes1
answer316
viewsQ: Error handling in C#!
Guys, the following is, in my application I would like to see a page with the error occurred, but that this page has all the formatting proposed in the layout, so this is not happening, because it…
-
0
votes1
answer321
viewsQ: My _Layout.cshtml file is not being recognized in the application, what to do?
I’m making an application in MVC Asp.net, and suddenly my application no longer recognizes the layout file being no longer applying the bootstrap and jquery... How can I fix it?? My layout file is…
-
1
votes1
answer3199
viewsQ: How to return a C# error with Json Result?
I am starting now with the language C#, and I came across the following task on a system, I must do an error treatment and return this in Json Result, the returned data should be collected and sent…
-
1
votes1
answer118
viewsQ: Displaying welcome message at navbar!
I’m doing an app on MVC Asp.net. When the user logs in I would like you to display the welcome message bringing the user name, however you are bringing the email, as I change this? My action is that…
-
0
votes1
answer116
viewsQ: How to make this email form in C#?
I am starting now to work with the MVC standard Asp.net, I created a view for contacts and insert a form in it that when filled and clicked on the send button will go to my email, so I only did the…
-
0
votes1
answer47
viewsQ: How to call an "Admin" role in an IF in C#?
Guys I created several roles for me to do an access control. So I want to know how to call the admin role so I can pass it in an if, like example I’ll put below in my _layout: @if ("Aqui que eu…
-
1
votes1
answer501
viewsQ: How to hide items from a C# MVC template menu?
I am having difficulty in being able to restrict access to some menu items of my application, because there is a type of user who will have access only to certain items and the Admin user after…
-
4
votes1
answer345
viewsQ: How to alert the form correctly?
I have a contact form, so when filled out it is not displaying the failed send alert or successfully sent, it is redirecting to a search page, here my script: <form class="form-inline"…
-
0
votes3
answers76
viewsA: Wordpress on Localhost
The best plugin to do this calls if All in One WP Migration, you will install it in your application and will export using this plugin as "file" then install the plugin in your local application and…
-
0
votes1
answer1536
viewsA: how to resolve ERR_TOO_MANY_REDIRECTS?
The bug was happening because in the general settings the link was pointing to https://meudominio.com/ and then I switched to https://www.meudominio.com/ and solved the problem.…
-
0
votes1
answer1536
viewsQ: how to resolve ERR_TOO_MANY_REDIRECTS?
I have a wordpress site that is showing this error ERR_TOO_MANY_REDIRECTS How to solve this?
-
0
votes1
answer50
viewsQ: How to apply this scrolling function?
I would like to apply an effect that works as follows, a search in the form that when displayed the result on the page should automatically scroll in place of the div where the search result will…
-
1
votes3
answers189
viewsA: How to properly make this condition?
Now the code is like this, and this time the require is no longer displayed in any way, and it should be displayed when you search by the name 'Andrey': if ($resultados->num_rows > 0) {…
-
2
votes3
answers189
viewsQ: How to properly make this condition?
I made this condition, so that if the person searches by name Andrey will run a require, otherwise it will not display, so any name I put in the search field is bringing the require, so is my code:…
-
-1
votes1
answer339
viewsQ: What PHP function to open a page if the condition is true?
I want when the person is going to search the form, if the search is true to open an existing page related to the search, what function can I use for this?
-
0
votes0
answers36
viewsQ: How to return image without being saved in the database?
I will store the images in the folder img on my website. I wanted to know if there is any way to search a certain image using the search form, so that when the search was done, it would be displayed…
image-processingasked WPfan 786 -
0
votes1
answer263
viewsA: Navbar under Jumbotron, huh?
to solve this then you will have to tinker with the CSS of bootstrap, there the property that you are using if I am not mistaken has 48px of padding, it is only remove that solves the problem... so…
-
-1
votes2
answers276
viewsA: How to return a mysql query as a link?
To solve I used a condition, so everything worked out fine! For each registered name to using this condition: if (isset($_POST['nome']) === 'Empresa Cadastrada' || 'Empresa' || 'Cadastrada'){ echo…
-
1
votes3
answers1538
viewsQ: How to insert the data into a specific field of a _mysql_table?
I have a table called company, with the fields name, addressee, city, telephone, email and link. How should I proceed to enter a value in the field link that is empty?…
-
1
votes2
answers276
viewsQ: How to return a mysql query as a link?
Folks I am developing an application, and I would like when a search for the search form is conducted to return a value as a link to a given page associated with the searched name, someone knows how…
-
1
votes1
answer58
viewsA: List Database with Java or PHP
just use the SHOW DATABASES at least with me it worked like this, using PHP and mysql
-
2
votes1
answer51
viewsA: Is that a server error?
The solution was to change the PHP version, because it was in 5.2 on the web server and in the local was 7.0... then I changed the server and solved the problem!
-
0
votes1
answer51
viewsQ: Is that a server error?
I have developed an application in which on my local server is working perfectly. So when I put on the web server is returning me the following error: Fatal error: Class 'mysqli' not found in Can…
-
1
votes1
answer208
viewsQ: Using require, where to use this tag?
I had asked this question before, but I was not so specific so I decided to reformulate my code here so that you understand better. Here I have the main file that will be used as template for all…
-
0
votes1
answer28
viewsQ: How do you get the result published in the right place?
I’m using the require on this page of mine, so the result is being printed after the footer, someone would tell me how to solve, follow the code: <?php require ("principal.php"); $servidor =…
-
0
votes1
answer43
viewsQ: How to make the content repeat on another page?
Hello, I am developing an application using PHP and bootstrap. The body is composed of three columns, the two sides they should be repeated on all other pages, wanted to know how to insert them on…
-
0
votes3
answers103
viewsQ: How to treat the value field?
I have in my html a form, in it I have a field described this way: <option value="sao-gabriel-da-palha">São Gabriel da Palha</option> In my database I have to put the value equal to…
-
0
votes2
answers98
viewsA: What’s wrong with this search form?
Well for me to get it done and to make it work, it had to be this way here, I thank you for all your help: <?php $servidor = "localhost"; $usuario = "root"; $senha = "root"; $tabela =…
-
0
votes2
answers98
viewsQ: What’s wrong with this search form?
I created this search form, so it’s returning all blank! Here the form: <h3>O que você esta procurando? Digite aqui:</h3> <form class="form-inline" action="busca.php"…
-
0
votes0
answers36
viewsQ: Create Custom Search Plugin for Wordpress
I have to create a wordpress plugin, where it will have to do the search based on the selected filter. Example: I want to find clothing stores in a certain city. After typing in the search field the…
-
0
votes1
answer762
views -
0
votes2
answers423
viewsA: How to disable "full screen" of Html5 video in any browser?
For this would have to use javascript also along with HTML5, exactly as I will put below will work: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8">…
html5-videoanswered WPfan 786 -
0
votes2
answers83
viewsA: When importing an xml file it comes blank
For the solution I did as follows in the case: case"importar"; //importando arquivo xml importarUsuario ($conexao); break; And in the role I had to do as follows: function importarUsuario…
-
0
votes2
answers83
viewsQ: When importing an xml file it comes blank
I created this following xml file: <?xml version="1.0" encoding="UTF-8"?> <usuarios> <usuario> <nome>Andrêy Ferraz</nome> <idade>25</idade> </usuario>…
-
0
votes1
answer137
viewsQ: Create a role in WP for when to log in to be redirected
I need to create a function in Wordpress so that when the user logs in automatically is redirected to another link, here is my code as is: $user_id = get_current_user_id(); if ($user_id == 2) {…
-
0
votes0
answers110
viewsQ: How to avoid double submission of a form when updating the page?
I have this function that is responsible for performing the registration of a new user in my form, so when I update it I re-enter the last record, how can I do the treatment so that it does not…
-
1
votes1
answer70
viewsQ: Return Path in wordpress
I configured in the nail the wp-mail function of the wordpress responsible for sending emails on the site through the form. If wordpress update I have to make this addition of codes again in…
-
4
votes1
answer14830
viewsQ: Error 503 Backend fetch failed
Sometimes I get this error when I am developing some application in wordpress, someone knows tell me the reason???…
-
1
votes1
answer6504
viewsA: How do I resolve Access denied for user ''@'localhost' (using password: NO)?
I was able to solve the problem, removed the information from index.php and passed to the controller, the following: $db_host = "localhost"; $db_user = "root"; $db_pass = "new-root"; $db_name =…
-
0
votes2
answers69
viewsA: If does not Char compare
Give an isset on the variable sum, I think it will solve. function trata_check($valor) { $ci= & get_instance(); if(isset($valor)=='S'){ $html='<span class="glyphicon…
codeigniteranswered WPfan 786 -
0
votes1
answer6504
viewsQ: How do I resolve Access denied for user ''@'localhost' (using password: NO)?
People I am doing here a simple screen that makes a query to the database, the first time I created everything went well, but now I appeared this message "Access denied for user '@'localhost' (using…