If you use a selection rule to override the front page using the standard Drupal string of "<front>", the selection rule is borked when it's displayed, e.g.:
This panel will be selected if Node being viewed is type "Category", and Current path is "&amp;lt;front&amp;gt;".

Comments

Instead of using a path how about using some PHP

<?php
$homepage
= FALSE;
if (
drupal_is_front_page()) {
 
$homepage = TRUE;
}
return
$homepage;
?>

this should work i think...

@travisc: the selection rule does work correctly, the bug is in relation to how the summary information is displayed.

Project:Panels» Chaos tool suite (ctools)
Version:7.x-3.x-dev» 7.x-1.x-dev

This would be a CTools issue.

Title:Selection rule borks display of "<front>"Selection rule for "Is Front Page"
Component:User interface» Page Manager
Category:bug» feature
Priority:Minor» Normal

I think it's a very common use case that people want to select on "is this the front page" or not. How about we provide a selection rule so we don't have to use PHP code?

Status:Active» Needs review
StatusFileSize
new1.4 KB

added new rule.

Issue tags:+needs backport to D6

tagging for backport.

Status:Needs review» Fixed

I feel silly for never having thought about this rule!

Committed to D6 and D7 after fixing the form for D6.

Automatically closed -- issue fixed for 2 weeks with no activity.