Questions tagged as 'codeigniter'

1
answer

GroceryCRUD error

Hey guys, I'm trying to use GroceryCRUD along with the Framework Codeigniter I'm doing the installation exactly as indicated in the grocery video tutorial but even without changing anything this is returning the following error: As...
asked by 17.01.2017 / 14:43
1
answer

How to change parameter of a function in url with Codeigniter

I would like to know if you have the possibility to change a parameter of the url with codeigniter. I have a created function called edit and in it I pass the client id to be edited, but instead of the id that is the parameter, I would like the...
asked by 29.12.2016 / 14:19
1
answer

Edit Form c / modal + Codeigniter

Good afternoon everyone, I'm implementing an edit form (modal) that has an 'Edit' link and which when clicked opens a modal form. The big problem is that I am not able to assimilate the 'Edit' link and bring each BD line to the modal form to...
asked by 07.12.2016 / 21:21
1
answer

Upload optional

I am using CodeIgniter File Upload Class in a form to send a photo, but by default the field is mandatory, I would like to know if you have how and if you can change the rule, as there will not always be an image to be sent on this form. Vie...
asked by 14.12.2016 / 16:01
0
answers

How to do an update on several rows of a table with codeigniter

Hello, I'm having the following problem, I have a stock table. follows img: TheseinventoryproductsaregroupedeverytimeIgiveanentryitaddstowhatalreadyexistsandcreatesanewrowinthedatabase. The issue is I can not do an update that would be...
asked by 29.11.2016 / 18:57
0
answers

How to redeclar a function after loading new content with Ajax?

I need to assign to new elements loaded via an ajax request this function bloginfos () . Is there a more elegant and professional way in my code to do this? $("#frm_busca_projetos").on("change", function(){ var termo = $("#termio").val();...
asked by 21.11.2016 / 02:56
0
answers

Check expired vip users

Good afternoon guys, I have a classified portal and I'm putting VIP accounts in it, these accounts will have the possibility to make an amount of vip postings by the contracted plan. I already know how to prevent her from continuing to enjoy...
asked by 08.12.2016 / 21:37
2
answers

Catch the path before saving the CI image

I'm using the following method to save an image, it's working correctly: function do_upload() { $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'gif|jpg|png'; $config['max_size'] = '100'; $config['max_width']...
asked by 15.11.2016 / 03:37
0
answers

Uploading image using AngularJS

I have this AngularJS: app.controller("templateController", function ($scope, $http, $timeout) { $scope.save = function () { $scope.mensagePage = {class: 'warning', text: 'Processando...'}; var dados = $scope....
asked by 17.11.2016 / 19:18
1
answer

Pass code via url with / to a java script (php + codeigniter)

Hello, I have the following case. I have a part with just a few data from several places, I would like to do something to open a popup to show all the data of that location, so I would need to pass the same id to the url to make the select. Meth...
asked by 17.11.2016 / 20:00