<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
cite
        {color:green;
        font-style:normal;}
code
        {font-family:"Courier New";}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-GB link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Have you looked at the Pathauto module? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>(<a
href="http://drupal.org/project/pathauto">http://drupal.org/project/pathauto</a>)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;
color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span lang=EN-US style='font-size:10.0pt;
font-family:Tahoma;color:windowtext'> support-bounces@drupal.org
[mailto:support-bounces@drupal.org] <b><span style='font-weight:bold'>On Behalf
Of </span></b>Mohammed@atexplorer.com<br>
<b><span style='font-weight:bold'>Sent:</span></b> 22 June 2009 14:30<br>
<b><span style='font-weight:bold'>To:</span></b> support@drupal.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [support] force users
to enter path alias</span></font><font color=black><span lang=EN-US
style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>hello William and Fred,<br>
<br>
thank you very much for the explanation! if only I can write code I will use
this power of drupal extensively. any more hints or a skeleton module that I
can try? unfortunately I won't be able to write this on my own, even though the
code is only few lines long.<br>
<br>
thank you both very much, and I am sorry for the miss understanding.<br>
<br>
Mohammed.<br>
<br>
On 6/22/2009 4:19 PM, William Smith wrote: <o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>
<meta http-equiv=Context-Type content="text/html; charset=ISO-8859-1">
Hi Mohammed -<br>
<br>
I think you misunderstand the hook system.&nbsp; It is designed so that you
*don't* have to hack core files.&nbsp; You would implement this in your site's
custom module space (if you don't have one, you can create one easily).&nbsp;
You would then implement the hook as <i><span style='font-style:italic'>your_module_name_</span></i>form_alter(&amp;$form,
$form_state, $form_id)<br>
<br>
This is the way that Drupal is designed to be extended and is not at all a
hack.&nbsp; You can read more here: <a
href="http://api.drupal.org/api/group/hooks/6" moz-do-not-send=true>http://api.drupal.org/api/group/hooks/6</a><br>
<br>
Best,<br>
William<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>On Mon, Jun 22, 2009 at 9:07 AM, <a
href="mailto:Mohammed@atexplorer.com" moz-do-not-send=true>Mohammed@atexplorer.com</a>
&lt;<a href="mailto:mohammed@atexplorer.com" moz-do-not-send=true>mohammed@atexplorer.com</a>&gt;
wrote:<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>hello William,<br>
<br>
thanks for the answer. I don't prefer to use this method as I need to hack core
files. any other thoughts?<br>
<br>
thank you.<br>
Mohammed. <o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
On 6/22/2009 3:09 PM, William Smith wrote: <o:p></o:p></span></font></p>

</div>

</div>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt' type=cite>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>I don't recall if there
is a direct way (ie. config option) to make the path alias textfield mandatory,
but if nothing else you could use hook_form_alter (<a
href="http://api.drupal.org/api/function/hook_form_alter/6"
moz-do-not-send=true>http://api.drupal.org/api/function/hook_form_alter/6</a>)
to make the field required.<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>On Mon, Jun 22, 2009 at 7:13 AM, <a
href="mailto:Mohammed@atexplorer.com" moz-do-not-send=true>Mohammed@atexplorer.com</a>
&lt;<a href="mailto:mohammed@atexplorer.com" moz-do-not-send=true>mohammed@atexplorer.com</a>&gt;
wrote:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>hello.<br>
<br>
is this at all possible? I want users to fill in the path alias field and make
it obligatory. it sounds simple, but searching <a href="http://drupal.org"
moz-do-not-send=true>drupal.org</a> didn't yield anything relevant.<br>
<br>
-- <br>
All The Best,<br>
Mohammed Al-shar'<br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/"
moz-do-not-send=true>http://lists.drupal.org/</a> ]<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>&nbsp;<o:p></o:p></span></font></pre>

<div><pre><font size=2 color=black face="Courier New"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt'>--<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>[ Drupal support list | <a
href="http://lists.drupal.org/" moz-do-not-send=true>http://lists.drupal.org/</a> ]<o:p></o:p></span></font></pre></div>

</blockquote>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>-- <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>All The Best,<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Mohammed Al-shar'<o:p></o:p></span></font></pre></div>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/"
moz-do-not-send=true>http://lists.drupal.org/</a> ]<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<o:p></o:p></span></font></p>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre
style='text-align:center'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'>

<hr size=4 width="90%" align=center>

</span></font></pre><pre><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>--<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>[ Drupal support list | <a
href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<br>
<o:p></o:p></span></font></p>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>-- <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>All The Best,<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Mohammed Al-shar'<o:p></o:p></span></font></pre></div>

</body>

</html>

<pre>**************************************************************************************************************************************************************** 

The content of this email (and any attachment) is confidential. It may also be legally privileged or otherwise protected from disclosure. 

This email should not be used by anyone who is not an original intended recipient, nor may it be copied or disclosed to anyone who is not an original intended recipient. 

If you have received this email by mistake please notify us by emailing the sender, and then delete the email and any copies from your system. 

Liability cannot be accepted for statements made which are clearly the senders own and not made on behalf of Network Rail. 

Network Rail Infrastructure Limited registered in England and Wales No. 2904587, registered office Kings Place, 90 York Way London N1 9AG 

****************************************************************************************************************************************************************