Main menu

Forum


[SOLVED] Mistake in default.event.php

  • Ralerope
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 2 ans 7 mois - il y a 2 ans 7 mois #18541 par Ralerope
[SOLVED] Mistake in default.event.php a été créé par Ralerope
Hi. You have a mistake in your code:

com_icagenda/site/themes/packs/default/default.event.php

at Line 89:

mistake: <div class="ic-divCell ic-label"><?php echo $EVENT_VIEW_DATE_LABEL; ?></div>

should be: <div class="ic-divCell ic-label"><?php echo JText::_('COM_ICAGENDA_EVENT_DATE'); ?></div>

Otherwise it is not possible to translate the label.
Dernière édition: il y a 2 ans 7 mois par Lyr!C. Raison: [SOLVED]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 2 ans 7 mois #18544 par Lyr!C
Réponse de Lyr!C sur le sujet Mistake in default.event.php
Hello,

No, there's no error, and you can translate the strings (with language overrides)

The label is singluar or plural depending on the date(s): single or period or even multiple dates.

The variable there will return the correct label, singular or plural.

To translate it, there are 2 strings:
COM_ICAGENDA_EVENT_DATES_LABEL="Dates"
COM_ICAGENDA_EVENT_DATES_LABEL_1="Date"

Hope this helps?

Best regards,
Cyril

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Les utilisateur(s) suivant ont remercié: Ralerope

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.042 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new