Main menu

Forum


× Help Forum English

Event cancellation

  • drweb
  • Topic Author
  • New Member
  • New Member
More
3 years 11 months ago - 3 years 11 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: 3 years 11 months ago by Lyr!C.

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

 

  • otergau
  • New Member
  • New Member
More
3 years 11 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
3 years 11 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 3.9.2
We recommend every user to keep iCagenda updated.
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
3 years 11 months ago #16946 by Lyr!C
Replied by Lyr!C on topic Event cancellation
Hello,

3.7.13 just released today! ;-)

Latest version : iCagenda 3.9.2
We recommend every user to keep iCagenda updated.
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.189 seconds

 

Follow Us

acymailing logo new

Create your Joomla templates with Template Creator CK