Consider modifying prompt text to:
Use a relative path, don't use a leading slash, and ...
in patch.module to emphasize the point.
diff -u path.module.dist path.module
--- path.module.dist 2005-01-08 09:29:27.582613829 -0800
+++ path.module 2005-01-08 09:30:28.511516021 -0800
@@ -208,7 +208,7 @@
break;
case 'form pre':
- $output = form_textfield(t('Path alias'), 'path', $node->path, 60, 250, t('Optionally specify an alternative URL by which this node can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'));
+ $output = form_textfield(t('Path alias'), 'path', $node->path, 60, 250, t('Optionally specify an alternative URL by which this node can be accessed. For example, type "about" when writing an about page. Use a relative path, don\'t use a leading slash, and don\'t add a trailing slash or the URL alias won\'t work.'));
if ($node->path) {
$output .= form_hidden('pid', db_result(db_query("SELECT pid FROM {url_alias} WHERE dst = '%s'", $node->path)));
}
Comments
Comment #1
(not verified) commented