Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module adds a template variable to identify front page translations.
The is_front variable can be used in a template file to check whether the displayed page is the front page or not. However, this does not apply to the translations of the front page (when content translation is in use). This module addresses this by adding a new template variable is_translated_front, which is set to TRUE for nodes that are translations of the front page.
Usage example:
<?php // Do not display the title on the front page ?>
<?php if ($title && !($is_front || $is_translated_front)): ?>
<h2><?php print $title; ?></h2>
<?php endif; ?>
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Multilingual
- Created by odyniec on , updated