are there any plans for porting it to Drupal 7?

Comments

podarok’s picture

Assigned: Unassigned » podarok

already have a D7 version
please. add me to project maintainers - I`ll push the code to git

carlovdb’s picture

Is there a D7 version or not?

podarok’s picture

Category: feature » support
Priority: Normal » Major
Status: Active » Patch (to be ported)
StatusFileSize
new6.33 KB
new2.8 KB

here are the patch against latest master and the module itself for Drupal7

andypost’s picture

Status: Patch (to be ported) » Needs work

Patch in wrong format, also there's few troubles with a indents and trailing wgite-spaces

+++ b/rel_to_abs.module
@@ -2,45 +2,42 @@
+        'title' => t('Relative Paths to Absolute URLs'),
+        'description' => t('Filter for convertion of relative paths to absolute URLs.'),
+        'process callback' => 'rel_to_abs_filter_html',
+        'settings callback' => 'rel_to_abs_filter_html_settings',
+        'tips callback' => 'rel_to_abs_filter_html_tips',
+        'cache' => FALSE,

WTF >?

+++ b/rel_to_abs.module
@@ -2,45 +2,42 @@
+            '/(src|href)=(\'|")\//', '$1=$2' . url('<front>', array('absolute' => TRUE, 'language' => $lang)), $text

same

podarok’s picture

Looks like it is a browser issue for < and > symbols

podarok’s picture

Status: Needs work » Needs review
StatusFileSize
new2.56 KB

here is updated patch

podarok’s picture

Automatically closed -- issue fixed for 2 weeks with no activity.