Hello,
I hit an issue where Freelinking and the Media module were conflicting due to similar syntax for the filters.
A media insert:
[[{"type":"media","view_mode":"media_large","fid":"70571","attributes":{"alt":"","class":"media-image","height":"42","typeof":"foaf:Image","width":"200"}}]]
Was resulting in: [Bad Link: Plugin Not Found]
The fix was pretty simple, just order Media filter before Freelinking filter so this is pretty low priority feature request, but I have a two part feature request:
- Ignore anything starting with:
{"type":
- Create a new plugin: media:fid to create a link to media items (with some default settings for view mode, etc.)
Thanks!
Comments
Comment #2
gisleThere is a setting ("Ignore unknown plugin indicators"). If you set that, Freelinking will ignore markup starting with
{"type":(and anything else it does not explicitly know about). I hope this takes care of the first part of the feature request. I just fixed a small bug (so you need to test against 7.x.3.x-dev until 7.x.3.5 is released), but I think that with that setting, Freelinking will no longer interfere with the Media filter.If this does not fix the incompatibility with the Media filter, feel free to reopen,
As for the second part ("Create a new plugin ..."): As maintainer of this module, I try to fix bugs and to keep it in working shape. However, I don't run a free coding service, and will only create custom plugins for paying clients. For that reason, I'm closing this feature request.