Posts by Leandro • 361 points
16 posts
-
0
votes1
answer29
viewsA: How to change the background color of the body in a VTEX IO template?
go to the directory styles/configs/style.json and look for the key semanticColors.background.base and change to the desired color.
-
0
votes1
answer29
viewsQ: How to change the background color of the body in a VTEX IO template?
How can I change the background color of a VTEX IO template in which the structure is done in JSONC?
-
0
votes4
answers1209
viewsA: Input type datetime error
according to this article of Mozilla the input of type "datetime" is obsolete, and its use is not encouraged: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime…
-
0
votes1
answer109
viewsA: Grayscale effect on slide Carousel
you apply the filter: grayscale(1) in all Carousel items, in the item that is applied to classes ".center" and ".active" automatically by the plugin, you take advantage to apply again the filter but…
-
1
votes2
answers66
viewsQ: regroup values of an array into a new array
I have an array of values like this: [{season:1, episode:1},{season:1, episode:2},{season:2, episode:1},{season:2, episode:2}] what I want to do is get the key Season and group in a new array like…
-
0
votes0
answers328
viewsQ: figure out a password hash method
I’m racking my brain trying to figure out which hash method one of my company’s applications is using, I don’t have access to the source code because it’s a compiled ASP, but it stores the password…
-
1
votes1
answer1469
viewsA: Configure Template(ready) in Laravel 5.x
create views is relatively simple, already took a look at the documentation? first, create a controller, for example, in the folder app\Http\Controllers create a file named: homeController, in the…
-
1
votes1
answer573
viewsQ: PHP: passing session variables from one domain to another domain
We have two projects hosted in different domains. I need to pass some information from one domain to the other, to generate a ticket. I was asked to send session variables to this other domain for…
-
1
votes1
answer518
viewsQ: Datatables bringing all data at once
I have a bizarre problem that’s making me pull my hair out, I know I’m creating a valid json via server side, I even used a json validator. the format of my json is that way: [ { "name": "jhon doe",…
-
2
votes1
answer89
viewsQ: regex to replace the $_POST['field'] string with $this->input->post('field') from codeigniter
I’m trying to find a way to replace the sequence $_POST['INPUT'] for $this->input->post('INPUT') of codeigniter, in my editor phpstorm, using the replace with the option regex active. So,…
-
0
votes2
answers1552
viewsA: Vue Router: prevent user from accessing login route if already logged in
well, one solution I used is the following, I did a check to see if the user is logged in and if the route is "/login", then I gave a next('/') to home page. and that if gets out of the first if. if…
-
9
votes2
answers1552
viewsQ: Vue Router: prevent user from accessing login route if already logged in
I am configuring the routes of my application in Vue.js, initially this all OK, after logging in the user is redirected to the dashboard, now my question is how can I prevent the user from accessing…
-
1
votes2
answers314
viewsQ: generating an array of [month/year] p/ send to an ajax
I’m not sure if I specified the title correctly, but, come on, I have a url that returns a json with a bank value, the value comes this way: "01/2010" until "12/2016". I created a loop that brings…
-
0
votes2
answers902
viewsQ: Pick up radio value and pass to an Hidden input with same name
I need to get the value of all radio input (that are checked) of my page, has around 10 radio, the value is loaded directly from the database, but they are disabled because the user can not change…
-
1
votes1
answer146
viewsA: Image Upload
it is fully possible to upload an image without database, whether it is to store in a directory within your hosting, or in a folder of your local project, all you have to do is recover the file data…
-
3
votes2
answers318
viewsA: How to create a static website
when the "screen" (screen for en) is smaller than the width of your div #tudo, change the CSS property width for max-width and so the content will adjust to smaller widths.…