*

pitbull

  • ***
  • 98 posts
As the title describes, how can i set the "Notify" option as active by default, for any new list created by the users? I want it always checked.

Thanks

Marked as best answer by pitbull on August 27, 2019, 05:58:32 PM
*

MB Themes

@pitbull
Unfortunately plugin does not have such option, you will have to update plugin files (ajax.php)
    ModelFI::newInstance()->addFavoriteList( __('Favorite List', 'favorite_items'), 1, $user_id, osc_is_web_user_logged_in() ? 1 : 0, 0 );

I think last parameter is for notification
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

rooman

  • ****
  • 231 posts
As the title describes, how can i set the "Notify" option as active by default, for any new list created by the users? I want it always checked.

Thanks

add checked
Code: [Select]
<input type="checkbox" class="fi_checkbox" name="fi_new_list_current" id="fi_new_list_current" checked/>

*

MB Themes

Easiest way is to update column in database table and set default value to 1
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots