Blog

Date Difference Calculation Fix

User Calculate Days $('#days_cnt').datepicker({ format: "yyyy-mm-dd", startDate: '-0d', autoclose:true }); $('#days_cnt').datepicker().on('changeDate', function(ev) { //alert("startdate"); var start_date_time_tt = $("#start_date_time").val(); var startdate = new Date(start_date_time_tt); var enddate = new Date(ev.date); var day_diff = Date.daysBetween(startdate,enddate); var report_days_val = $("#reminder_participant").val(); if(report_days_val==''){ var report_days_new = day_diff; }else{ var report_days_new = report_days_val+','+day_diff; } $("#reminder_participant").val(report_days_new); }); above not working Assistant The issue […]

Datepicker Date Selection Event

User $('#days_cnt').datepicker({ format: "yyyy-mm-dd", startDate: '-0d', autoclose:true }); event when date is selected Assistant You can use the `changeDate` event of the datepicker to trigger an action when a date is selected. Here's an example: $('#days_cnt').datepicker({ format: "yyyy-mm-dd", startDate: '-0d', autoclose: true }).on('changeDate', function (e) { // Event triggered when a date is selected console.log('Selected […]

Bulk Order Issue Clarification

User Thanks explanation like this , So the issue it with bulk order moved in this case, Okay now I understand this Correct above sentence Assistant Here’s a corrected version of your sentence: "Thanks for the explanation. So, the issue is with the bulk order move in this case. Okay, now I understand this." User […]

HTACCESS Redirect Instructions

User redirect to another site from htaccess Assistant You can redirect users to another site using `.htaccess` rules. Here's how you can achieve this: ### Redirect Entire Domain to Another Site If you want to redirect all traffic from your domain to another site: RewriteEngine On RewriteRule ^(.*)$ https://www.newsite.com/$1 [R=301,L] ### Redirect a Specific URL […]

Provider Listing Approval Issue

User I've just checked the process and found listing still publishes when we approve user for provider listing, also I've checked the code and its also written to publish provider post when get approved by admin Correct above sentence Assistant Here’s the corrected version of your sentence: "I’ve reviewed the process and found that the […]

Owl Carousel Setup Guide

User owl caursel for 3 items Assistant To set up Owl Carousel for displaying 3 items at a time, follow these steps: — ### 1. **Include Owl Carousel Files** Add the necessary CSS and JavaScript files for Owl Carousel to your project. #### Using a CDN: <!– Owl Carousel CSS –> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"> <link […]

Owl Carousel Slide Adjustment

User $("#uncode-custom-post-grid-owl").owlCarousel({ loop: false, margin: 30, responsive: { 0: { items: 1.2, // 1 column for mobile nav: false, // Hide nav arrows on tablets dots: true }, 768: { items: 1.2, // 2 columns for tablets nav: false, // Hide nav arrows on tablets dots: true }, 1024: { items: 3 // 3 columns […]

Owl Carousel Mobile Settings

User $("#uncode-custom-post-grid-owl").owlCarousel({ loop: false, margin: 30, responsive: { 0: { items: 1.2, // 1 column for mobile nav: false, // Hide nav arrows on tablets dots: true }, 768: { items: 1.2, // 2 columns for tablets nav: false, // Hide nav arrows on tablets dots: true }, 1024: { items: 3 // 3 columns […]

Owl Carousel Mobile Issues

User $("#owl-carousel-grid").owlCarousel({ loop: false, margin: 30, responsive: { 0: { items: 1.2, // 1 column for mobile nav: false, // Hide nav arrows on tablets dots: true }, 768: { items: 1.3, // 2 columns for tablets nav: false, // Hide nav arrows on tablets dots: true }, 1024: { items: 3 // 3 columns […]

Mobile Dots Glider Setup

User new Glider(document.getElementById("slider-simple"), { slidesToShow: 1, slidesToScroll: 1, draggable: true, rewind: true, duration: 0.5, dots: ".pagination", arrows: { prev: ".slider-prev", next: ".slider-next" }, responsive: [ { breakpoint: 300, settings: { slidesToShow: 1.2, scrollLock: false, rewind: true } } ] }); make dot appear in mobile Assistant To make the dots appear on mobile devices when […]