⚠ In case you've missed it we have migrated 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. ⚠


oak

Member Since 17 Jan 2018
Offline Last Active Oct 06 2021 02:25 PM
-----

Topics I've Started

Problem with callbackAfterInsert

26 March 2019 - 03:28 PM

Hello,

 

this is my function..

 

// generate keyid
$crud->callbackAfterInsert(
    function ($stateParameters) {      
    $crud->where('pid', $stateParameters->insertId);
    $project = $crud->get('projects')->row();    
    $keyid = substr(str_shuffle(MD5(microtime())), 0, 18);
    if (!empty($keyid)) {
      $crud->update('projects', ['keyid' => $keyid]);
    }
    return $stateParameters;
});

 

Always gives error: <b>Fatal error</b>:  Call to a member function where() on null in

 

But i dont understand... can someone help please?


Where to download new Enterprise version

21 January 2019 - 06:29 PM

Hello,

 

sorry, i bought enterprise version, where can i see updates and how to download new enterprise version?

 

Thank you.

 

Regards,

Olaf


How to show whole string of a field in list view

17 July 2018 - 02:36 PM

I have a long string in one field value, but it will shortened. Does anymone know how to output whole text?

 

Thanks.


Problem of Session

13 May 2018 - 11:58 AM

Hello,

 

today i have a problem with session handling:

 

I use session to login into admin area to view a project listing. So if i am a too long time on this listing page and try to edit per "edit-button", suddenly i got a failure window if i want to save edited data row.

 

If i login again, its working again, for some minutes.

 

Can someone please give me a hint how to handle this problem? Session Cookies and lifetime are set to 2 hours.

 

Thank you!

 

Regards,

Olaf


How to see Wysiwyg Editor in textarea fields

17 April 2018 - 09:58 AM

Hello,

 

i am just wondering, who i can activate a Wysiwyg- Editor for changeing textarea fields. Is there a funtion i have to add to template?

 

How can i activate a HTML Editor?

 

If there is not such one included, how can i integrate one?

 

Thank you so much.

 

Regards,

Olaf