The setting for the front page needs to be the real path (eg node/1234 not some_node) for drupal_is_front() to work correctly. However on the blocks configuration for which pages a block should be displayed needs to be the alias not the real path (eg some_node not node/1234).

This effects the displaying of the breadcrumbs (since when drupal_is_front() returns TRUE, breadcrumbs don't display) or the use of the option which will not work.

CommentFileSizeAuthor
block.patch.txt1.08 KBgordon

Comments

RayZ’s picture

At least part of this issue is a dup of http://drupal.org/node/77479, but the patch is different. I'm not certain, but I think the other one is probably the correct fix.

@gordon: please mark this as a dup if you agree.

gordon’s picture

I am not sure which is right. They are both correct solutions for depending what the site_frontpage should be.

Should it be the real path or can it be an alias?

Have this question answered and you will know which is the correct solution.

beginner’s picture

Check this issue, too: http://drupal.org/node/70177

RayZ’s picture

Status: Needs review » Closed (duplicate)

@gordon: From the user's point of view, I don't see a good reason to prohibit the use of an alias. Marking this as a duplicate of http://drupal.org/node/77479

@beginner: http://drupal.org/node/70177 was regarding a different issue and is now closed.