Main menu

Forum


× Help Forum English

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

  • Proton
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
12 Anni 1 Settimana fa - 12 Anni 1 Settimana fa #8210 da 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:
Ultima Modifica 12 Anni 1 Settimana fa da Lyr!C. Motivo: [SOLVED]

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
12 Anni 1 Settimana fa #8230 da 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Proton
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
12 Anni 1 Settimana fa - 12 Anni 1 Settimana fa #8246 da 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 ;)
Ultima Modifica 12 Anni 1 Settimana fa da Proton.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
12 Anni 1 Settimana fa #8252 da Lyr!C

Proton ha scritto: 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.059 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new