Posts by Alex M. • 205 points
11 posts
-
0
votes1
answer411
viewsA: Can I pass the http method via the Vue-Resource parameter?
You can use Custom Actions to solve your problem.
-
0
votes2
answers1022
viewsA: How to update a v-for variable in Vue JS?
You need to "update" the view’s DOM. this. $forceUpdate();
-
0
votes2
answers847
viewsA: Generate PDF from filters in Cakephp
You can adapt the PDF generation routine by reading a parameter GET and filter over this parameter before generating the PDF.
-
0
votes3
answers58
viewsA: Increase spaces when we decrease page
I advise you to study fluid layouts. But start using % instead of px in their margins and paddings, is already a great start.
-
1
votes1
answer348
viewsA: apache error = get overlap result error
See if you can add that to your vhosts.conf solves your problem: <IfModule mod_fcgid.c> # 5 minutes for IO timeout, default is 40 seconds FcgidIOTimeout 300 </IfModule>…
-
0
votes1
answer738
viewsA: Load url with $.ajax and use token
Probably your requisition is POST, and it doesn’t make sense for you to pass a string in beforeSend Try it like this: $.ajax({ url : url, type : 'POST', contentType : "application/json", data:…
-
7
votes4
answers1799
views -
0
votes2
answers2266
views -
0
votes2
answers68
viewsA: file_exists to check news
file_exists works only for absolute paths, i.e., within the server filesystem. I advise checking whether file_get_contents returns code 200, not 404, for what you want to do.…
-
1
votes2
answers70
viewsA: Where is the mistake?
You’re on line 5: echo("Fundador '); //pode fazer tudo You’re opening with double quotes and closing with single quotes. Swap ' for " and it will work again, like this: echo("Fundador"); //pode…
-
1
votes3
answers70
viewsA: How to add two values?
You just need to allow another level within the IF, with the operator ||. Something like that: while($row = mysql_fetch_assoc($result)) { if($row['level'] == '1' || $row['level'] == '2') // Agora…