Main menu

Forum


× Help Forum English

Event cancellation

  • drweb
  • Topic Author
  • Junior Member
  • Junior Member
More
6 years 7 months ago - 6 years 7 months ago #16938 by drweb
[FIX 3.7.12] Event cancellation was created by drweb
Hi Cyril,

How does this work precisely ?
I found how to cancel an event and can see what it displays on the backend and frontend.
Thanks for this option !!!
But on the front-end i see this text and can't find where to change and translate it :
COM_ICAGENDA_EVENT_CANCELLED_TEXT

Greetings,
Kurt
Last edit: 6 years 7 months ago by Lyr!C.

Please Log in or Create an account to join the conversation.

  • otergau
  • Junior Member
  • Junior Member
More
6 years 7 months ago #16941 by otergau
Replied by otergau on topic Event cancellation
Hi all,

I've the same issue and do not know where to change it.

Pleas advice,

Thx
Olaf
Attachments:

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
6 years 7 months ago #16944 by Lyr!C
Replied by Lyr!C on topic Event cancellation
Hello,

Yes, this is due to the way Joomla loads the language...

So, a patched version, with new options to customize the "Cancelled" label will be released tomorrow.

If you want to fix it now, simply edit the file: ROOT/administrator/components/com_icagenda/utilities/event/event.php

And line 230, add this:
			$language = JFactory::getLanguage();
			$language->load('com_icagenda', JPATH_SITE, 'en-GB', false, true);
			$language->load('com_icagenda', JPATH_SITE, null, true);

So the code looks like:
if ($evtParams->get('event_cancelled'))
		{
			$language = JFactory::getLanguage();
			$language->load('com_icagenda', JPATH_SITE, 'en-GB', false, true);
			$language->load('com_icagenda', JPATH_SITE, null, true);

			$text        = JText::_('COM_ICAGENDA_EVENT_CANCELLED_TEXT');
			$description = $evtParams->get('event_cancelled_desc');

Thanks!

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) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
6 years 7 months ago #16946 by Lyr!C
Replied by Lyr!C on topic Event cancellation
Hello,

3.7.13 just released today! ;-)

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) .

File Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.043 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new