Main menu

Forum


× Help Forum English

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

  • Proton
  • Topic Author
  • Junior Member
  • Junior Member
More
12 years 1 week ago - 12 years 1 week 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: 12 years 1 week 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
12 years 1 week 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 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.

  • Proton
  • Topic Author
  • Junior Member
  • Junior Member
More
12 years 1 week ago - 12 years 1 week 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: 12 years 1 week 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
12 years 1 week 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 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.038 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new