Main menu

Forum


× Help Forum English

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

  • Proton
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 10 ans 2 mois - il y a 10 ans 2 mois #8210 par 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:
Dernière édition: il y a 10 ans 2 mois par Lyr!C. Raison: [SOLVED]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 10 ans 2 mois #8230 par 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.8
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Proton
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 10 ans 2 mois - il y a 10 ans 2 mois #8246 par 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 ;)
Dernière édition: il y a 10 ans 2 mois par Proton.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 10 ans 2 mois #8252 par Lyr!C

Proton écrit: 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.8
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.078 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new