Description of the need
This is a follow-up to https://github.com/backdrop/backdrop-issues/issues/4630. The idea is to be able to more easily track and update internal paths if they appear in text that's passing through filters.
Proposed solution
Make it work like the file upload, which produces something like:
<p><a data-file-id="7" href="/files/inline-files/document.pdf">document</a></p>
In this case the ID would have to be the pid in url_alias table.
Alternatives that have been considered
Maybe it's possible for the filter dialog to strip the leading slash and possibly decode the path to find a possible match. But that's more difficult than just looking for the alias via the pid.
Recent comments
Hello, @yorkshirepudding! Thanks a lot, I got it, all sorted out.
My layout template (layout--blog.tpl.php) doesn't work
Hi @Gnome and welcome to Backdrop When I create custom layout templates I put them in /layouts/custom/my_layout Note: you can split modules and layouts between contrib and custom...
My layout template (layout--blog.tpl.php) doesn't work
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform