Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello, I currently have the same slideshow being displayed on both my French and English front pages, and would like to instead show a slideshow with French content on the French page. I tried modifying the php code in the page-front.tpl.php in my subtheme, with the php code added just before the div class = "slideshow"
<? php if ($language -> language == "fr"): ?>
However my slideshow was completely removed from my page. Anyone can help me with showing 2 different slideshows based on the language in use? Am using i18n module.