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.
Works with body fields and regular text fields, but it seems like Pathologic doesn't do anything with fields with long text type.
Comments
Comment #1
Garrett Albright CreditAttribution: Garrett Albright commentedIs the content of the field being run through an input format which includes the Pathologic filter?
Comment #2
Garrett Albright CreditAttribution: Garrett Albright commentedClosing pending more information.
Comment #3
mErilainen CreditAttribution: mErilainen commentedI have this problem. I have only one text format called WYSIWYG which has the pathologic filter enabled. I have added the same link to two different text fields with a ckeditor. In the body field it works, but in the other field it is missing the "en" prefix (which will mean "page not found" error).
In the edit mode both fields have identical path "/node/6653". Disabling pathologic filter on the text format will make the link point to "/node/6653" so it works somehow.
Comment #4
Garrett Albright CreditAttribution: Garrett Albright commentedThe same question: Are you sure that the text field on which it is working is having its contents run through a format which includes the Pathologic filter?
Comment #5
mErilainen CreditAttribution: mErilainen commentedYes. I said I have only one format and it has Pathologic filter enabled.
Comment #6
Garrett Albright CreditAttribution: Garrett Albright commentedOkay, and the content field is configured to process its text through the filtering system? Are other filters working on the field content correctly?
I ask because it doesn't make sense that Pathologic would work on a node's "body" field but not on another filtered content field on the same node, because the "body" field is itself just a filtered content field.
Comment #7
mErilainen CreditAttribution: mErilainen commentedIn the field settings I have Text processing ->Filtered text (user selects text format)
And the text format has only Convert line breaks into HTML and Correct URLs with Pathologic chosen.
So it works for default language, which is Finnish in my case, but when I switch to English, then the path won't get the en prefix -> "Page not found".
Comment #8
Garrett Albright CreditAttribution: Garrett Albright commentedIs this still a problem given the multilingual improvements in later versions of Pathologic?