Champs Weblinks

More
14 years 5 months ago #271 by fabou
Champs Weblinks was created by fabou
Idée ?
je pense qu'il serait intéressant de pouvoir choisir la fenêtre de destination, car par défaut le lien s'ouvre dans la même fenêtre. je pense surtout à du _blank dans mon cas ;)

Merci d'avance.

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

More
14 years 5 months ago #272 by Doywan
Replied by Doywan on topic Champs Weblinks
j'avais planché dessus sur le forum joomla , c'est assez simple.

Pour ceux qui souhaitent modifier le champ weblink pour qu'il s'ouvre en target="_blank" voici la modification à faire dans le fichier weblink.php :

Vous trouverez le fichier dans ../plugins/flexicontent_fields/ , à la ligne 273 du fichier weblink.php remplacez :

Code:
'<a href="' . JRoute::_( 'index.php?fid='. $field->id .'&cid='.$field->item_id.'&ord='.($n+1).'&task=goto' ) . '">'

par
Code:
'<a href="' . JRoute::_( 'index.php?fid='. $field->id .'&cid='.$field->item_id.'&ord='.($n+1).'&task=goto' ) . '"target="_blank">'


Dev et rédacteur en chef Fonky les bons tuyaux
www.fonkyt.com - magasine online de l'événementiel culturel et loisirs d'Orléans et son agglO

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

More
14 years 5 months ago #274 by fabou
Replied by fabou on topic Champs Weblinks
ça marche nickel :D
merci à toi

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

More
14 years 5 months ago #275 by Doywan
Replied by Doywan on topic Champs Weblinks
Pas de soucis !

Dev et rédacteur en chef Fonky les bons tuyaux
www.fonkyt.com - magasine online de l'événementiel culturel et loisirs d'Orléans et son agglO

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.277 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline