• Resolved theo93

    (@theo93)


    Hello,

    I like your plugin and its very userfriendly.

    I have one question, i have an event tha starts for example at 10-2 and ends at 14-2, when i add it i see the bullet only the first day of the event.

    Is there any setting where i can connect the days?

    Best regards

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author totalsoft

    (@totalsoft)

    Hello Dear theo93,

    We are glad that you like our plugin. Please, can tell us what type of calendar are you using?

    Thank You/

    Thread Starter theo93

    (@theo93)

    Hello,

    Thank you for the fast reply.

    I use the Flexible Calendar: Demo 1

    Plugin Author totalsoft

    (@totalsoft)

    Dear theo93,

    Please can you give us a link to see where the calendar is? To see what the problem is. Because in this type of calendar it is necessary to show on all days where the events are located.

    Thank You/

    Thread Starter theo93

    (@theo93)

    Hello,

    https://www.andelimototouring.gr/en/calendar/

    You can go to May 10-13 and shows the bullet only on 10.

    Best regards

    Plugin Author totalsoft

    (@totalsoft)

    Dear theo93,

    We looked and did not see the problem. Please, can you take a screenshot of the page, where you have created the event? Where did you establish the start and end of the event.?

    Thank You.

    Thread Starter theo93

    (@theo93)

    Hello,

    Here is the image: https://ibb.co/pvCt8Fp

    Best regards

    Plugin Author totalsoft

    (@totalsoft)

    Dear theo93.

    Please, can you tell which theme and plugins are you using? And please, can you deactivate all the plugins and take a look, do you having the same problem in this case?

    Thank You.

    Thread Starter theo93

    (@theo93)

    Hello,

    I tried in one demo site and i have the same problem.

    Plugin Author totalsoft

    (@totalsoft)

    Dear theoc.

    To solve your problem, please edit the Widget.php file of our plugin. Please find this code:

    array_push($Total_Soft_CalEvents_Date, $Total_Soft_CalEvents[$i]->TotalSoftCal_EvStartDate);

    There, change and write like this

    $startdate=strtotime($Total_Soft_CalEvents[$i]->TotalSoftCal_EvStartDate);
    if(strtotime($Total_Soft_CalEvents[$i]->TotalSoftCal_EvEndDate) == “”){
    $enddate=$startdate;
    }else{
    $enddate=strtotime($Total_Soft_CalEvents[$i]->TotalSoftCal_EvEndDate);
    }
    while ($startdate <= $enddate) {
    array_push($Total_Soft_CalEvents_Date, date(“Y-m-d”, $startdate));
    $startdate = strtotime(“+1 day”, $startdate);
    }

    Thread Starter theo93

    (@theo93)

    Its in 2 places in the file, both?

    Plugin Author totalsoft

    (@totalsoft)

    Please edit the Widget.php file of our plugin. Please find this code:

    $TotalSoftcalEvent .= ‘<div class=”TotalSoftcalEvent_LAE TotalSoftcalEvent_LAE_’ . $Total_Soft_Cal .'”></div>’;
    array_push($Total_Soft_CalEvents_Desc, $TotalSoftcalEvent);

    There, change and write like this

    $TotalSoftcalEvent .= ‘<div class=”TotalSoftcalEvent_LAE TotalSoftcalEvent_LAE_’ . $Total_Soft_Cal .'”></div>’;
    $startdate=strtotime($Total_Soft_CalEvents[$i]->TotalSoftCal_EvStartDate);
    if(strtotime($Total_Soft_CalEvents[$i]->TotalSoftCal_EvEndDate) == “”){
    $enddate=$startdate;
    }else{
    $enddate=strtotime($Total_Soft_CalEvents[$i]->TotalSoftCal_EvEndDate);
    }
    while ($startdate <= $enddate) {
    array_push($Total_Soft_CalEvents_Desc, $TotalSoftcalEvent);
    $startdate = strtotime(“+1 day”, $startdate);
    }

    Please try this version and tell us know, does it work or not? If yes, We will add this function in the next version.

    Thank You.

    Thread Starter theo93

    (@theo93)

    I get unexcpected T_CLASS

    Plugin Author totalsoft

    (@totalsoft)

    Dear theoc.

    Please , take a screenshot of your changes. You did something wrong.

    Thread Starter theo93

    (@theo93)

    Hello,

    I change the line 2489 and 2490.

    Here is the image: https://ibb.co/CzcvpBp

    The error is unexcpected T_CLASS.

    I fixed that replacing the ‘ and ” from your code.

    After that the problem was that in all events i had the same one when i clicked the date.

    Thread Starter theo93

    (@theo93)

    Hello @totalsoft ,

    Is there anything new?

    Best regards

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Many day event shows only the first day’ is closed to new replies.