Hey Drupalistas
Not sure if my title is clear enough.
I have a link field with the linkit plugin enabled to it.
--> "Enable Linkit for this field." on the link field.
This is working as seen in the screenshots. [1, 2, 3]
As you also can see, the output is also something correct: /sites/default/files/user_uploads/86050709581.pdf
When I save the field, it gives me the following error.
"Please fill in a valid URL". [4, 5]
NOTE: It does work when I just select a node in the linkit field... "node/12".
Now, if I disable the clientside validation, it will save the node but the output is
http://testsite.dev/nl//sites/default/files/user_uploads/86050709581.pdf
And that url will not work so I had to create a .htaccess rewrite ...
Is there a way that /sites/xxx will remove the language parameter so it would be a correct link?
Comment | File | Size | Author |
---|---|---|---|
link-linkit-5.png | 22.13 KB | yvesvanlaer | |
link-linkit-4.png | 9.93 KB | yvesvanlaer | |
link-linkit-3.png | 154.79 KB | yvesvanlaer | |
link-linkit-2.png | 54.56 KB | yvesvanlaer | |
link-linkit-1.png | 29.03 KB | yvesvanlaer |
Comments
Comment #1
anonIs your linkit version really 7.x-3.X ?
Seems to me like its 7.x-2.X, and that version is pretty much dead when comming to development.
Comment #2
yvesvanlaer CreditAttribution: yvesvanlaer commentedHey anon, according to the .info file it's version = "7.x-3.3"
Comment #3
anonWell, isn't this a problem with the link module? I mean, the urls linkit gives is correct.