Closed (fixed)
Project:
Country code
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2008 at 14:55 UTC
Updated:
24 Dec 2008 at 12:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
recidive commentedAttached patch fixes this.
I'm not quite sure if we should link to e.g. /ca, or get default frontpage using
variable_get('site_frontpage', 'node')and append it to the path, e.g. ca/node. Country block does this this way.Comment #2
catchPatch had e-notice errors - undefined variable. Modified to use drupal_is_front_page(). I prefer /ca to the site_front_page variable - usually you want your front page to really be '/' rather than the arbitrary path which is being used to generate it. We should probably standardise either way though, and I'm not sure which is considered best practice.
Comment #3
catchCommited #2.