a breadcrumb is set on front page if defaut front page settings is set different to "node"

CommentFileSizeAuthor
#1 breadcrumb-on-frontpage.patch720 bytesrstamm

Comments

rstamm’s picture

StatusFileSize
new720 bytes

This patch works with system urls but also with aliases.

rstamm’s picture

Status: Active » Needs review
steph’s picture

Status: Needs review » Reviewed & tested by the community

I think this

if (drupal_get_normal_path(variable_get('site_frontpage', 'node')) == $_GET['q'])

could be encapsulated somewhere else, since a similar behaviour seems to be reproduced in some places in the code.

Anyway, the last patch seems to work and code seems fine.

steph’s picture

I also reviewed the similar patch here : http://drupal.org/node/58065

I'll let the expert decide which patch is the best :-)

rstamm’s picture

Status: Reviewed & tested by the community » Fixed
rstamm’s picture

Status: Fixed » Closed (fixed)