• Resolved mlplus

    (@mlplus)


    Trying to show a list of upcoming holidays. I made a holiday list and they show up in calendar (See https://granadaplus.eu/calendario/) but if I try to use [eme_holidays id=1] to display a list of upcoming holidays it only displays “2019-01-25”

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Franky

    (@liedekef)

    Try changing in eme_holdays.php the line 265 from:
    $holidays_list=eme_get_holiday_list(intval($id));
    to:
    $holiday_list=eme_get_holiday_list(intval($id));

    That should fix it.

    Thread Starter mlplus

    (@mlplus)

    Better, but shows result like:

    2018-10-12 Día de la Hispanidad
    2019-01-25
    2018-11-01 Día de Todos los Santos
    2019-01-25
    2018-12-06 Día de la Constitución Espa?ola
    2019-01-25
    2018-12-25 Día de Navidad
    2019-01-25
    2019-01-01 A?o Nuevo
    2019-01-25
    2019-01-02 Día de la Toma de Granada
    2019-01-25
    2019-01-06 Día de los Reyes
    2019-01-25
    2019-01-07 Día siguiente Epifanía
    2019-01-25
    2019-02-28 Día de Andalucía
    2019-01-25
    2019-04-18 Jueves Santo
    2019-01-25
    2019-04-19 Viernes Santo
    2019-01-25
    2019-05-01 Fiesta del Trabajo
    2019-01-25
    2019-05-31 Corpus Christi
    2019-01-25
    2019-08-15 Asunción de la Virgen
    2019-01-25
    2019-10-12 Fiesta de la Hispanidad
    2019-01-25
    2019-11-01 Día de todos los Santos
    2019-01-25
    2019-12-06 Día de la Constitución Espa?ola
    2019-01-25
    2019-12-09 Día siguiente de la Inmaculada
    2019-01-25
    2019-12-25 Día de Navidad

    Thread Starter mlplus

    (@mlplus)

    Would be nice if it only shows upcoming holidays also

    Thread Starter mlplus

    (@mlplus)

    You can see my testpage here: https://granadaplus.eu/test/

    Plugin Author Franky

    (@liedekef)

    I’ll check out the code later on this weekend (today should never just be shown), but also the doc states:
    “Inserts a simple html list of the holidays in one of your defined holiday listings.”

    So no arguments, template or anything for now, just a list of holidays. I’ll see if I can add something like scope (i.e. scope=all, scope=future, scope=past).

    Thread Starter mlplus

    (@mlplus)

    Thanks!

    Plugin Author Franky

    (@liedekef)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t get [eme_holidays] to work’ is closed to new replies.