⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


richb201

Member Since 30 Sep 2017
Offline Last Active Nov 22 2020 09:06 AM
-----

Posts I've Made

In Topic: Problem with Search and set_relation

11 August 2020 - 09:38 PM

I has been many years since this solution was unearthed, but it worked for me too. THANK YOU! 


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?