Posts by Ursones • 504 points
38 posts
-
0
votes2
answers273
viewsA: Error making API requests using Axios and Vue-Resource
You are experiencing CORS error, which is a security system that browsers use. CORS - Cross-Origin Resource Sharing (Resource Sharing with different origins) is a mechanism that uses additional HTTP…
-
0
votes1
answer141
viewsA: Filter an array with Vue
Thanks to a colleague of my Job, I was able to understand what was happening... The vm. was not returning a array and yes another object whose properties were indexed. I just turned the vm. in array…
-
-1
votes1
answer141
viewsQ: Filter an array with Vue
Great day to you all! I’m picking up to a filter where I don’t understand the pq is returning the following error on the console: "Vue.runtime.esm.js? 2b0e:619 [Vue warn]: Error in render:…
-
0
votes1
answer856
viewsA: Yarn returning error while trying to add "Cors"
Good morning to all, discovered this morning the problem, was a conflict that existed when trying to add the Cors with the yarn dev of nodemon spinning. In case someone has the same problem I had,…
-
-1
votes1
answer856
viewsQ: Yarn returning error while trying to add "Cors"
This is Devs :D I’m having a mistake that’s bothering me a little... When trying to add the "Cors" package by Yarn, the terminal returns me the following error: $ yarn add cors yarn add v1.16.0…
-
3
votes1
answer656
viewsA: How to configure the webpack file in Laravel?
Try it this way Inside the archive ressources/sass/app.scss you import the bootstrap: // Bootstrap @import 'node_modules/bootstrap/scss/bootstrap.scss'; In webpack.mix.js you write like this:…
-
3
votes1
answer700
viewsQ: JS does not work after running "npm run dev"
Good afternoon, I am studying the Laravel 5.7 and was wanting to use a plugin called progressbar.js. One of the ways to install the plugin, is by playing the file progressbar.js right in the…
-
0
votes1
answer230
viewsQ: Laravel Mail, Error: Undefined variable
Good evening friends, I’m having a problem, when I try to pass the variables from one control to the other, he ends up accusing that the variable "was not defined": (Undefined variable: Black and…
-
1
votes0
answers23
viewsQ: Condition with 4 values
Oops, good morning, good morning! The thing is, I need to know how I make the following comparison: I have two values, dial in and out, if the time is marked, the user does not select time that are…
-
0
votes3
answers1108
viewsQ: Error while creating Wordpress post
Hello, I had a few problems with a cross-Omain virus (SEO Infect) in my hosting, after cleaning, reconfigure things my wordpress is presenting an error that is new to my person, in place of the box…
-
2
votes2
answers449
views -
1
votes2
answers913
viewsA: Use $_POST in a Php variable
Dude, if you’re not going through it’s because you must be missing the method form. No error, follow this logic: <form method="post"> <input type="text" name="nome_post" /> <button…
-
0
votes1
answer34
viewsQ: Comparison of days (larger and smaller)
I found something similar here, but it’s still not what I want. I have the following code in php: $data_t2 = date('dmY', strtotime($inicio_provas)); $data_t3 = date('dmY', strtotime("+120 days"));…
-
0
votes1
answer71
viewsQ: Customizing the post presentation in the wordpress looping
I am wanting to customize the looping of my posts to display the posts as follows, the first to the left and the second to the right and so on. It went wrong (and I knew it was going to go wrong),…
-
0
votes2
answers3520
viewsQ: Applying JS to Validate Input with Onblur
Hello, I have the following script: <script> function TestaCPF(strCPF) { var Soma; var Resto; Soma = 0; if (strCPF == "00000000000") return false; for (i=1; i<=9; i++) Soma = Soma +…
javascriptasked Ursones 504 -
3
votes1
answer196
viewsQ: Search view in wordpress
Speaks friends, I wonder if you have any way to display the research done on a wordpress site in this way: Post = in the "x" format, and, Page = in the format "y" thanks!…
-
0
votes0
answers35
viewsQ: Displaying the custom post type value
I created a "custom post type", it’s saving right in the post only I’m not able to pull the value to the post when I do the loop repeat. Below the code:…
-
1
votes1
answer110
viewsA: Number of markers in Google Maps
A while after asking this question, I found the answer by chance (because I had stopped researching), I saw a boy talking about some essential resources, among the resources was there! MARKPLACES…
-
1
votes1
answer110
viewsQ: Number of markers in Google Maps
I was studying some ways to implement Google Maps, and saw in a wordpress site a map with the counting of information, I wanted to know if you know a plug-in that does the same, or through the…
-
1
votes1
answer95
viewsA: Display of Wordpress pages
So, man, your question got a little long and confusing... But if you want to work with pages in wordpress, recommend that you use the pattern of templates for different pages, example: I want to…
-
2
votes2
answers2457
viewsQ: Loading page with Jquery
Good afternoon friends, I was doing the following process to display my page when done loading it full: <script> $(document).ready(function(){ $('.carregado').addClass( 'bye-bye'…
-
3
votes1
answer187
viewsQ: Simple doubt with Jquery, smooth effect
I’m having a hard time smoothing out an effect I did. It is very static, after clicking on the link, the goal is to make after the click between the menu screen in a smooth way... from opacity 0 to…
-
1
votes5
answers923
viewsQ: Help with PHP and Mssql special characters
I’m making a form, and when I record the information with special characters, record it well... only when I rescue the information it comes encoded... already used , utf8_encode/Decode and nothing I…
-
1
votes1
answer142
viewsA: help with SQL Nvarchar
In the thin of the accounts the solution was in the php.ini file, but why? By doing the $query = mssql_query("SELECT SEXO, NOME, RG...) WHERE... gave an error because the use of the parameter MSSQL…
-
1
votes1
answer142
viewsQ: help with SQL Nvarchar
Hello, I had some problems with a code on SELECT... example: SELECT dados FROM banco WHERE CPF='$CPF' // com o código assim estava dando alguns erros pois o bd era em SQL e o Servidor windows. The…
-
3
votes1
answer106
viewsA: Phpmailer presenting an unknown message
The key to the question was in the configuration: $mail->SMTPDebug = 0; that SMTPDebug was with the boleano value "1" IE, active... he was showing the whole sending process.…
-
1
votes1
answer106
viewsQ: Phpmailer presenting an unknown message
My code is working but when it runs, next to the message (which appears when completing the sending process), the following information appears: 2014-11-18 16:19:05 CLIENT -> SERVER: EHLO .org.br…
-
0
votes2
answers65
viewsA: Diversify Wordpress posts by Categories
Look, I didn’t test it your way... but I did it using query_posts(''); and also <?php wp_reset_query(); ?> there it was like this: <!-- NOTÍCIAS Federadas --> <div…
-
2
votes2
answers65
viewsQ: Diversify Wordpress posts by Categories
I’m using this code to display the news on the home page of a website, only I wanted to display: 4 news from Cat1 + 3 of Cat2 + 3 of Cat3 <!-- NOTÍCIAS AMB --> <?php if…
-
0
votes1
answer78
viewsQ: Creating a Wordpress Ad Insertion Area
Inside Wordpress I wanted to create a field, that when I post a featured image it would leave the image there, simple thing (think). Example is Orbit Slider, where the featured images turn to…
-
0
votes2
answers1023
viewsQ: Collect dropdown menu with Javascript
I made the following code in Javascript, for him to expand the dropdown, but now I do not know how to collect the menu, I wanted that when the "Focus" was not in the link, it collected (ex: clicking…
-
1
votes1
answer166
viewsA: Posts on page specifies Wordpress
Oops! I found the answer and it worked. First I went to my theme folder and copied the page.php(works with index too) and renamed to blog.php After that defined it as a "Blog" page template at the…
-
1
votes1
answer166
viewsQ: Posts on page specifies Wordpress
I am working with wordpress and am customizing the index keeping the top and footer: <?php get_header(); ?> <?php get_footer(); ?> only that when I go into the settings and point out the…
-
5
votes2
answers2155
viewsQ: Header running over Echo
I’m trying to use the following code: echo "<script>alert('Erro. Tente novamente.');</script>"; $insertGoTo ="pág.php"; header("Location: $insertGoTo"); only when executing the code…
-
0
votes2
answers788
viewsQ: registering php data in SQL server database 2008
I have a question... I don’t know if I’m putting the Cód right, I’m a beginner in php and I need a help... I already managed to make the form I have to write in Mysql ... but now I’m working on an…
-
2
votes1
answer123
viewsQ: Slider with jQuery on Wordpress is not running on IE
I am producing my website, in Chrome everything is ok as always, but in IE Slider is not running and do not know what to do. I am using CSS3, jQuery Easing v1.3 and jQuery 1.11.0. I found the code…
-
4
votes1
answer99
viewsQ: How to use "display: initial;" on IE9?
I made a website, but it gave error in IE9. The effect I made is only cool with display: initial; (because it fits right in the letters). The class code is as follows:: .box-slider h2 { font-size:…
-
2
votes2
answers319
viewsQ: What should Query be to get a tuple result where the value of a column is 'x'?
I have the following query: $select = "SELECT concat(mid(cpf,1,3),'.',mid(cpf,4,3),'.',mid(cpf,7,3),'-',mid(cpf,10,2)) as cpf, nome, genero, nome_cracha, rg, crm, crm_uf, rua, bairro, cep, cidade,…