By sumgai on
I wanted to have a menu item whose path was #top, but found the # to be a problem.
The workaround I came up with was a change to module.inc
I added the following code - on line 1140 in function url($path...).:
if(strpos($path, '#') === 0) return $path;
this way, the code doesn't mess with simple, in document ref's.
It seems to work fine.
Is there any problem you can see with doing this?
Thanks,
Mitch