Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In drupal 5, it comes with
> Web page addresses and e-mail addresses turn into links automatically
in drupal 4.7, this is done by urlfilter, a great module.
My question is, since i updated to 5, all my customized urlfilter settings is lost, for example, get rid of http:// when display the url, leave only last part of the url when its a link to certain type of files.
Where does the code handle url filter reside in drupal 5. I don't know which file to look at.
TIA.
Comments
Comment #1
ax CreditAttribution: ax commentedthe code to handle url filtering in Drupal 5 is in
filter.module
,function _filter_url($text, $format)
[1, 2]. you can customize your filtering there.[1] http://api.drupal.org/api/function/_filter_url/5
[2] http://cvs.drupal.org/viewvc.py/drupal/drupal/modules/filter/filter.modu...
Comment #2
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.