<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
hello Clark.<br>
<br>
thank you. I did, and I think it's an excellent module. however, since
the site I want this functionality for is in Arabic, pathauto doesn't
work very well with such characters, and I don't like the
transliteration that it does.<br>
<br>
thank you once again,<br>
Mohammed.<br>
<br>
On 6/22/2009 4:40 PM, Clarke Robin wrote:
<blockquote
 cite="mid:CFA52ABA25416B4C92602E4E746D8DEC05A558@UKRMASRTW45202.corp.UKrail.net"
 type="cite">
  <meta http-equiv="Context-Type" content="text/html; charset=us-ascii">
  <div>
  <p> <span>Have you looked at the Pathauto module? </span> </p>
  <p> <span>(<a moz-do-not-send="true"
 href="http://drupal.org/project/pathauto">http://drupal.org/project/pathauto</a>)
  </span> </p>
  <p> <span> &nbsp; </span> </p>
  <div>
  <div> <span lang="EN-US"> </span> </div>
  <p><b> <span lang="EN-US">From:</span> </b> <span lang="EN-US">
<a class="moz-txt-link-abbreviated" href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>
[<a class="moz-txt-link-freetext" href="mailto:support-bounces@drupal.org">mailto:support-bounces@drupal.org</a>] <b><span>On Behalf
Of </span></b><a class="moz-txt-link-abbreviated" href="mailto:Mohammed@atexplorer.com">Mohammed@atexplorer.com</a><br>
  <b><span>Sent:</span></b> 22 June 2009 14:30<br>
  <b><span>To:</span></b> <a class="moz-txt-link-abbreviated" href="mailto:support@drupal.org">support@drupal.org</a><br>
  <b><span>Subject:</span></b> Re: [support] force users
to enter path alias</span> <span lang="EN-US"> </span> </p>
  </div>
  <p> <span> &nbsp; </span> </p>
  <p> <span>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: </span> </p>
  <p> <span> 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>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 moz-do-not-send="true"
 href="http://api.drupal.org/api/group/hooks/6">http://api.drupal.org/api/group/hooks/6</a><br>
  <br>
Best,<br>
William </span> </p>
  <div>
  <p> <span>On Mon, Jun 22, 2009 at 9:07 AM, <a moz-do-not-send="true"
 href="mailto:Mohammed@atexplorer.com">Mohammed@atexplorer.com</a>
&lt;<a moz-do-not-send="true" href="mailto:mohammed@atexplorer.com">mohammed@atexplorer.com</a>&gt;
wrote:
  </span> </p>
  <div>
  <p> <span>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. </span> </p>
  <div>
  <div>
  <p> <span><br>
  <br>
On 6/22/2009 3:09 PM, William Smith wrote: </span> </p>
  </div>
  </div>
  <blockquote type="cite">
    <div>
    <div>
    <p> <span>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
 moz-do-not-send="true"
 href="http://api.drupal.org/api/function/hook_form_alter/6">http://api.drupal.org/api/function/hook_form_alter/6</a>)
to
make the field required. </span> </p>
    <div>
    <p> <span>On Mon, Jun 22, 2009 at 7:13 AM, <a
 moz-do-not-send="true" href="mailto:Mohammed@atexplorer.com">Mohammed@atexplorer.com</a>
&lt;<a moz-do-not-send="true" href="mailto:mohammed@atexplorer.com">mohammed@atexplorer.com</a>&gt;
wrote:
    </span> </p>
    <p> <span>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
 moz-do-not-send="true" href="http://drupal.org">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 moz-do-not-send="true"
 href="http://lists.drupal.org/">http://lists.drupal.org/</a> ] </span>
    </p>
    </div>
    <p> <span> &nbsp; </span> </p>
    </div>
    </div>
    <pre> <span>&nbsp;  </span> </pre>
    <div>
    <pre> <span> &nbsp; </span> </pre>
    <pre> <span>--  </span> </pre>
    <pre> <span>[ Drupal support list | <a moz-do-not-send="true"
 href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]  </span> </pre>
    </div>
  </blockquote>
  <div>
  <p> <span> &nbsp; </span> </p>
  <pre> <span>--   </span> </pre>
  <pre> <span>All The Best,  </span> </pre>
  <pre> <span>Mohammed Al-shar'  </span> </pre>
  </div>
  </div>
  <p> <span><br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
 href="http://lists.drupal.org/">http://lists.drupal.org/</a> ] </span>
  </p>
  </div>
  <p> <span><br>
  <br>
  </span> </p>
  <pre> <span> &nbsp; </span> </pre>
  <pre> <span>

 

</span> </pre>
  <pre> <span> &nbsp; </span> </pre>
  <pre> <span>--  </span> </pre>
  <pre> <span>[ Drupal support list | <a moz-do-not-send="true"
 href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]  </span> </pre>
  <p> <span><br>
  <br>
  <br>
  </span> </p>
  <pre> <span>--   </span> </pre>
  <pre> <span>All The Best,  </span> </pre>
  <pre> <span>Mohammed Al-shar'  </span> </pre>
  </div>
  <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 

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


  </pre>
  <pre wrap="">
<hr width="90%" size="4">
--
[ Drupal support list | <a class="moz-txt-link-freetext" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
All The Best,
Mohammed Al-shar'</pre>
</body>
</html>