I'm using grocery crud and need to validate form fields. Following is code from Controller...
$crud = new grocery_CRUD();
$this->config->set_item('grocery_crud_file_upload_allow_file_types','gif|jpeg|jpg|png');
/*set theme and table*/
…
I am trying to use image CRUD in Codeigniter. The following is what I have working:
Controller:
public function view($page = 'home')
{
$image_crud = new image_CRUD();
$image_crud->unset_upload();
$image_crud->unset_delete();
…
I need to add default images to post, if user do not select an image to upload.
Field to load the image optional.
How can i make it?
I use this controller.
public function news() {
$cur_user_id['user_id'] =…
Please help! I'm trying to install grocery crud using codeigniter and I'm using wamp. I can't seem to correct this error:
A Database Error Occurred
Unable to select the specified database: archives_collection
Filename:
…
I want to use where_in() method as codeigniter , I tried to define it but not working correctly.please help.
I added this code in grocery crud library
public function where_in($key = NULL, $values = array())
{
$this->where_in[]…
I'm attempting to resize my images on upload through Grocery Crud, but having some difficulty as I'm not sure how to access what is in the POST array so I can use it in my code.
Here is the section of my controller that does the image uploading…
I am using codeigniter and grocerycrud, I want to set a table with grocerycrud in this way:
SELECT * FROM `dashboard`.`medidas_ludlum`
where FK_ludlum='190.26.88.131'
and date>= '2014-03-04 09:40:00'
and date<= '2014-03-05 09:40:00'
and…
As in the title.
I want to allow to adsense ads to work, I'm use codeigniter with grocery-crud in my work.
The idea is I will add adsense code to field, then to store it in database, and then will shows in the pages of site.
The problem is when…
Everyone know, when add data by using grocery-crud, at end of the page there is a button named save to save the data in database.
This save button when clicked, save the data, then redirect to the data list page.
Now I'm use $crud->unset_list()…
I am using code igniter and Grocery CRUD, however when a register has blank spaces in its primary key (ie Phantom Dancer) the view or edit method from grocery crud doesnt load the field values, but if I change that name for Phantom_Dancer everything…
I want to install ckeditor with grocery crud. Can anyone please tell me how to install it in grocery CRUD. Please help :(
The current website text editor is TinyMCE but the problem with it that it has no image upload
I am very new to grocery crud. I want to add an extra column which will be for serial number and it will not change on search and pagination. I want it like JQgrid. Is it possible? Please help me.
I've got an existing project in code igniter and wanted to start using grocery crud with it. I'm running it on a recent install of wamp, php 5.4, apache 2.4.4.
I followed the basic set up, copy and pasting the files over to my code igniter directory…
i am very new to grocery crud.i have facing some problem with logical operation on insert_before_callback
i have a product table,when i will sell a product it will check the availability of the product.if the its available then it will insert it to…
I'm using codeigniter and grocery crud. I'm having a trouble in implementing a dropdownlist. When I add a data in the deduction table what I want to do is display all employee names which can be determined by having an entry in employee table. Once…