Course setting and customization

Home Forums Legacy Support Support queries How-to & Troubleshooting Course setting and customization

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #94624
    shlomi
    Participant
    Hello, 1. I used the LMS --> Course Setting, and after i saved the setting all my customize details, are not showing. Those are customize details i added to my customizer_class.php. 2. Another request pls - how can i get the price as integer? I need to customize price details in the course setting, but the data i can receive is a string with the price. Pls assist Thank you
    #94715
    H.K. Latiyan
    Participant
    1) Please share more details on this issue, like let me know which customization is not showing ? 2) We use woocommerce for pricing in wplms, so refer the woocommerce developers documentation for this purpose.
    #94781
    shlomi
    Participant
    For example - I added filter - //start_end add_filter('wplms_course_details_widget',array($this,'wplms_custom_course_details_widget_start_end'));/span> And the function - function wplms_custom_course_details_widget_start_end($details){   $course_id = get_the_ID();   $start_date = get_post_meta($course_id,'vibe_start_date',true); $end_date = get_post_meta($course_id,'vibe_end_date',true);   if(isset($start_date) && $start_date!=''){ $start_date = date_i18n(get_option('date_format'), strtotime($start_date)); $extra = array('start_title'=>'<li style="text-align: right; color: orange">תאריך המפגש הראשון: ', 'start_date'=>'  
    • <i class="fa fa-calendar" aria-hidden="true"></i>'.$start_date.'
      '); //array_splice($details, 1,0,$extra); }else{ $extra = array('start_date'=>'<li style="text-align: center; color: orange">לא נקבע מועד התחלה לקורס '); //array_splice($details, 1,0,$extra); }   if(isset($end_date) && $end_date!='') { $end_date = date_i18n(get_option('date_format'), strtotime($end_date)); $extra_end = array('end_title'=>'<li style="text-align: right; color: orange">תאריך מפגש הסיום: ', 'end_date'=>'  
    • <i class="fa fa-calendar" aria-hidden="true"></i>'.$end_date.'
      '); $extra = array_merge($extra, $extra_end); }   $payment = array('payment'=>'<li style="text-align: center">*** בשלב זה התשלום מתבצע ישירות למורה המלמד במפגש הראשון *** '); $extra = array_merge($extra, $payment); array_splice($details, 1,0,$extra);   return $details;   } to my customizer_class.php and i can't see it - it wasn't a problem yesterday... It started after i adjusted the course settings - Thanks    
    #94894
    We have added a new feature to completely customise the course details widget in the WPLMS 2.5.2 update. Kindly wait a while. I will create a tutorial for users to add their custom sections into it.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Course setting and customization’ is closed to new replies.