slideshow:modifier_les_liens_pour_la_langue_fr

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
slideshow:modifier_les_liens_pour_la_langue_fr [08/04/2013 12:15] – créée berthezeneslideshow:modifier_les_liens_pour_la_langue_fr [12/04/2013 17:29] (Version actuelle) berthezene
Ligne 1: Ligne 1:
-====== Slideshow : modifier les liens pour la langue FR ======+====== Slideshow - Modifier les liens pour la langue FR ======
  
 En français, le code du Slideshow, prends en compte la langue et ajoute un fr dans l'url : En français, le code du Slideshow, prends en compte la langue et ajoute un fr dans l'url :
-<code php>+<code html>
 <div class="content_image"> <div class="content_image">
         <a href="http://www.mines-stetienne.fr/fr/sites/default/files/28_CT.jpg" rel="lightshow[photogallery-200][]" >Diaporama</a>         <a href="http://www.mines-stetienne.fr/fr/sites/default/files/28_CT.jpg" rel="lightshow[photogallery-200][]" >Diaporama</a>
Ligne 22: Ligne 22:
         <a href="<?php print url($node->field_standard_images[0]["filepath"], array('absolute' => true, 'language' => '')); ?>" rel="lightshow[photogallery-<?php print $node->nid; ?>][<?php print $node->field_standard_images[0]["data"]["alt"] ?>]" ><?php print t('Slideshow'); ?></a>         <a href="<?php print url($node->field_standard_images[0]["filepath"], array('absolute' => true, 'language' => '')); ?>" rel="lightshow[photogallery-<?php print $node->nid; ?>][<?php print $node->field_standard_images[0]["data"]["alt"] ?>]" ><?php print t('Slideshow'); ?></a>
 </code> </code>
 +
 +et la ligne 44 :
 +<code php>
 +                <a class="display_none" href="<?php print url($image["filepath"], array('absolute' => true)); ?>" rel="lightshow[photogallery-<?php print $node->nid; ?>][<?php print $image["data"]["alt"] ?>]"></a>
 +
 +</code>
 +
 +par
 +<code php>
 +                <a class="display_none" href="<?php print url($image["filepath"], array('absolute' => true, 'language' => '')); ?>" rel="lightshow[photogallery-<?php print $node->nid; ?>][<?php print $image["data"]["alt"] ?>]"></a>
 +</code>
 +
 +Faire les mêmes corrections pour les fichiers :
 +  * node-jobs.tpl.php ;
 +  * node-jobs_liste.tpl.php.
 +
  
  --- //[[berthezene@emse.fr|Gregoire BERTHEZENE]] 08/04/2013 12:10//  --- //[[berthezene@emse.fr|Gregoire BERTHEZENE]] 08/04/2013 12:10//
  • slideshow/modifier_les_liens_pour_la_langue_fr.1365416119.txt.gz
  • Dernière modification : 08/04/2013 12:15
  • (modification externe)