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.
By BrendanHodge on
I've got 4.7 with RoundCube going. My theme is a variant of the Blue Marine: three fixed columns. However, I want to get rid of the columns and only have one main content area for the /mail area with round cube in it. (Otherwise it will just be too dang small -- and the top navigation will be enough for the mail page.)
I've seen the code for doing a different template for the front page:
if ($is_front) {
include('page-front.tpl.php');
return;
}
include("banner_chooser.php");
Is there something similar I can use to put a different template on all /mail pages?
Comments
Lot's more searching through
Lot's more searching through old posts and I found this post about loading different templates for different node types.
That seemed like it should work, so I tried the code:
However, no dice.
Is there a way to get this approach to work for the RoundCube mail module?