• Maybe you can help me. Everyday “Today” is missing. I have no idea why it is missing. I looked at the code but I guess my knowledge is limited.

    You can have a look at the website and maybe you find a solutions.

    Many Thanks
    Marco

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve got the same problem. For me, this is fixed by;
    “changing the calendar-theme to another and restore the original again”.

    * * *

    I wondered if this touches the essence, my situation was as follows:

    My site is located in a rental-server for the release version (R) and also in a local MAMP environment for development (L).
    Both contents (files, DB entries, etc.) are identical, I believe:), but the output HTMLs are not identical like;

    (R) <tdclass="ai1ec-today">…</td>  (NO blanks between ‘td’ and ‘class’!)
    (L) <td class="ai1ec-today">…</td>  (OK) 

    Therefore, in (R), the part seems to be treated as “an unknown element”. That is displayed at the wrong place (in my month-view mode, today’s date# displayed just above the calendar table, and the week in the calendar has only 6 days).

    PHP/JS version differences or TWIG caching inconsistency may cause the issue.
    I cannot fix the problem in source code yet, but the above try is working for me (the TWIG templates recompiled?).

    I hope this is useful to you.

    The same is happening for me, and it would be really helpful if the developer could release an updated version of the plugin which includes a fix for this issue. Thanks.

    Otherwise an excellent plugin and my ‘Go-To’ when a calendar is needed.

    I was able to fix it by adding an extra space before class in line 20 of wp-content/plugins/all-in-one-event-calendar/public/themes-ai1ec/vortex/twig/month.twig and line 20 of wp-content/plugins/all-in-one-event-calendar/public/themes-ai1ec/journey/twig/month.twig, so it now reads

    <td {% if day.today %} class="ai1ec-today"{% endif %}>

    • This reply was modified 4 years, 4 months ago by mattraines.

    Thanks for this fix mattraines. It worked for me although one may need to toggle calendar themes for the change to be picked up.

    The same problem is also present in agenda.twig and can cause the entry for next date after todays date to be misaligned.

    An updated version has just been released to resolve this issue.

    V 2.6.7

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A day is missing in my calendar’ is closed to new replies.