[development] links best practices (was Re: internal link filter ...)

Rob Barreca rob at electronicinsight.com
Wed Aug 2 17:56:19 UTC 2006


I like this idea better than my urlaliasfilter.module, so maybe we could 
use this module instead of the one I have there (which just replaces any 
link to "node/5" or "admin/settings" with it's appropriate alias).

Ray, let me know when you get a CVS account and if you'd like to post a 
patch/combine efforts to urlaliasfilter.

IMO internal://node/5 is better so if someone wants to create a white 
label installation for a client who doesn't want anything labeled 
"Drupal"-specific.

Rob Roy Barreca
Founder and COO
Electronic Insight Corporation
http://www.electronicinsight.com
rob at electronicinsight.com



Ray Zimmerman wrote:
> On Jul 29, 2006, at 11:20 AM, Konstantin Käfer wrote:
>> Just a quick thought: what about using drupal://node/64 or 
>> internal://admin/settings style URLs?
>
> Ok, I created a filter that converts drupal://... style URLs using 
> url(). While waiting for my CVS account you can grab it from ...
>
>    http://www.pserc.cornell.edu/temp/drupal_path_filter.module
>
> Any suggested improvements? Morbus? ;-)
>
> It doesn't currently split out the query string or fragment portion 
> before passing to url(), and I'm sure the regex could probably be 
> improved, but it seems to work for the simple things I've tried so 
> far, so I thought I'd throw it up here for any feedback.
>
>     Ray
>
>


More information about the development mailing list