Main menu

Forum


The developer takes a few days off for Summer vacation...
...and will be back with charged battery!

From 14 June to 29 June, 2025 included
During this period,
assistance from developer will not be provided.

NEWS: iCagenda 4.0.0-alpha1 will be available for testing for users with a PRO subscription in July!

× Help Forum English

[SOLVED] Link to Google Calendar opens in "_self" - should open in "_blank"

  • Proton
  • Topic Author
  • New Member
  • New Member
More
10 years 7 months ago - 10 years 7 months ago #8210 by Proton
How do I manage not to leave my site when copying in Google Calendar?

On klick (on Calendar icon) opens the small popup, then I klick on the Google Calendar and i am in the Google site.

How can I open a new Window for Google?

Thanks for help :dry:
Last edit: 10 years 7 months ago by Lyr!C. Reason: [SOLVED]

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 7 months ago #8230 by Lyr!C
Hello,

Maybe my browser is not set as yours... but you're right, i will add a target blank in the 3.4.0.

So, in this file ROOT/components/com_icagenda/helpers/iCicons.class.php

You can search for this part for "// Google Calendar - link", and edit following code as i've done in the current 3.4.0-beta version (note the nofllow and tagert added):
					// Google Calendar - link
					if (in_array('1', $iconAddToCal_options))
					{
						$addtocal.= '<div class="ic-tip-link">';
						$addtocal.= '<a href="' . $gcal . '" class="ic-title-cal-tip" rel="nofollow" target="_blank">';
						$addtocal.= JHtml::_('image', 'media/com_icagenda/images/cal/google_cal-'.$iconAddToCal_size.'.png', JText::_('COM_ICAGENDA_GCALENDAR_LABEL'), array());
						$addtocal.= '&#160;' . JText::_('COM_ICAGENDA_GCALENDAR_LABEL') . '&#160;';
						$addtocal.= '</a>';
						$addtocal.= '</div>';
					}

You can do the same for add to windows live and yahoo.

Hope this helps,
Regards,
Cyril

Latest version : iCagenda 3.9.11
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.

  • Proton
  • Topic Author
  • New Member
  • New Member
More
10 years 7 months ago - 10 years 7 months ago #8246 by Proton
Did someone ever tell you that you are just GREAT :)

Works wonderful, thank you!
This problem was solved easily.

Have a nice day, see you ;)
Last edit: 10 years 7 months ago by Proton.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 7 months ago #8252 by Lyr!C

Proton wrote: Did someone ever tell you that you are just GREAT :)

Works wonderful, thank you!
This problem was solved easily.

Have a nice day, see you ;)


Thank you :blush: :blush: :blush:

This code will be added in 3.4.0 core ;-)

Have a nice day!
Cyril

Latest version : iCagenda 3.9.11
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.095 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new