Posts by Carlos Silva • 341 points
11 posts
-
0
votes4
answers3995
viewsA: How to make a link button in Angularjs
This code is almost ready. Just add the function in the controller to change route: $scope.go = function ( path ) { $location.path( path ); }; But, since apparently you are using bootstrap, I…
angularjsanswered Carlos Silva 341 -
1
votes1
answer307
viewsA: Heroku - Connect with mongoDB addon mLab
I believe the error is being derived because it is being passed Undefined for the connection string. From the photo you sent, the environment variable for the connection is being passed in the…
-
2
votes1
answer740
viewsA: Hide Scrollbar from div with overflow: auto
Stackoverflow in English answered a similar question, which I believe solves your problem: https://stackoverflow.com/a/20447620/6762369 .div { background-color: red; position: relative; height:…
-
0
votes2
answers158
viewsA: Get JS values for PHP
Javascript code must be inside the .php. file Make sure to keep this code out of the php tag ( ) Ai, try to do the following inside the javascript code: var cidade = <?php print ip_data['city']…
-
3
votes1
answer189
viewsA: Backup by mysqldump line by line
You can try this command: mysqldump --extended-insert=FALSE This answer was found at this link: https://stackoverflow.com/a/12439368/6762369…
-
0
votes1
answer60
viewsA: Do you have a problem with indexing on Google with dynamically loaded content pages?
I answered a similar question here: /a/159045/54272 So, if there is already an HTML Snapshots system on your site, your links, metatags and content are the same as before this upgrade, maybe Google…
-
1
votes2
answers479
viewsA: How to make a dynamic meta descripition in Angularjs?
You can use the module Angular-Update-Meta. With it, you just call on each page the tag <update-meta name="description" content="A descrição da nova página aqui"></update-meta>. Besides…
-
1
votes1
answer637
viewsA: access apps in Heroku giving error
Try adding the module to your Node.js server Cors. And try to add it this way: var express = require('express'), cors = require('cors'), app = express(); app.use(cors()); //rotas abaixo In case it…
-
0
votes1
answer151
viewsA: "Cannot GET" when deploying to Heroku
Heroku doesn’t accept writing, only reading. In the case of image uploads, it may be saved in a few minutes, but it will be deleted automatically at some point. The image will only be available to…
angularjsanswered Carlos Silva 341 -
0
votes1
answer250
viewsA: How indexing works with searchers using Angular JS
According to my research, Google is starting to interpret Spas in javascript. But there are cases of Spas that are not yet recognized by the search engine Google, because I performed tests with the…
-
0
votes2
answers59
viewsA: How to make the site perform a code withdrawal with a particular user?
You can do this verification with this code by only changing the assignment operation =, to a comparison operator == <?php if ($_SESSION['nome_usuario'] == "TESTES") { ?> "Codigos em HTML e…