I has been many years since this solution was unearthed, but it worked for me too. THANK YOU!
- grocery CRUD website →
- grocery CRUD forum
- → Viewing Profile: Posts: richb201
Community Stats
- Group Members
- Active Posts 69
- Profile Views 6,900
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
Contact Information
User Tools
Friends
richb201 hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: Problem with Search and set_relation
11 August 2020 - 09:38 PM
In Topic: more than one callback ?
23 July 2020 - 07:59 PM
The reason that I am asking is that I am having trouble with call backs and I am not sure what the problem is. I have callback
$crud->callback_after_insert(array($this, 'add_email'));
here is add email:
function add_email($post_array)
{
$post_array['email'] = $this->session->userdata('userid');
$post_array['campaign'] = $this->session->userdata('campaign');
return $post_array;
}
The problem is that unless the field email and the field campaign display in the add form, they don't appear in the post array. Thus if I have made them invisible in the add form like this:
$crud->change_field_type('email', 'invisible');
$crud->change_field_type('campaign', 'invisible');
They don't appear in the $post_array and I can't change them.
In Topic: I am having a problem with image crud (not grocery!)
22 June 2020 - 11:06 PM
Well, now I am thinking that image crud just was meant to work with Grocery Crud Enterprise, and that might be the issue. Any comments?
In Topic: image crud. Are there any install instructs?
02 May 2020 - 05:57 PM
What are you talking about? The product is related to Grocery Crud. Is Grocery crud no longer be supported or did it move to another location?
In Topic: image crud. Are there any install instructs?
14 April 2020 - 06:16 AM
Here are the directories that image crud is composed of in the zip file
application
config
controllers
libraries
views
assets
image_crud
uploads
Can I just assume to copy these into the corresponding directories in the existing Grocery crud install?
- grocery CRUD forum
- → Viewing Profile: Posts: richb201
- Privacy Policy