I am working on migrating to Backdrop the content and functions from a Drupal 7 site I developed several years ago. (Therefore I don't recall all the details of how and why I did some things.) Just ran into something previously accomplished with the module "Link iframe formatter" which isn't available for Backdrop. Is there something else providing similar results ?
Most helpful answers
Comments
If you describe exactly how you are using "Link iFrame Formatter" module, people might be able better suggest alternatives.
Here is the description of that module (or others who might be interested):
Once enabled, you can select "Iframe" as the display formatter of a "Link" field in the "Manage display" page of the desired content type. You can set the width and the height of the generated iframe tag.
I looked at that module and it appears to be only about 100 lines of code. I suspect that it would be very easy to port it to Backdrop CMS.
I was going to suggest posted a port request here: https://github.com/backdrop-ops/contrib/issues - But, I went there and @klonos just posted a request for you and even suggested he might try the port himself. Like @klonos, I was thinking that I might give it a try myself, but I don't have time right now.
See port request: https://github.com/backdrop-ops/contrib/issues/355
Posting a comment there might help push this along.
Thanks for doing that! (making the request) I suppose the module is just to make a quantity of such needs a bit more convenient, so each external link doesn't need to be hand coded with an iframe.
I am curious about the use case for making a link into an iFrame. What are you trying to accomplish?
Only to insert an external web page, containing some search functions, into a page of this site. Now that I inspect the resulting page code (from using the iframe formatter module in the D7 site), I see this:
<div class="field field-name-field-ext-link-iframe field-type-link-field field-label-hidden">
<div class="field-items">
<div class="field-item even">
<iframe name="Accredited School Search" src="https://websearch.xxxxx.xxx" width="1005" height="600"></iframe>
</div></div></div>
(URL after "websearch" removed; the idea is still clear.)
Thanks. That additional information was helpful.
I considered taking a shot at porting Link iFrame Formatter myself tonight, but in the process found that there is already a port of the iFrame module, which I think accomplishes the same thing and there are more users for this Drupal module than there are for Link iFrame Formatter.
Rather than port a second module that does the same thing, let's see if we can make use of this existing Backdrop CMS module. There is no official release yet, but I tested it and it seems to work. There is one bug reported, but I don't think it's critical. I'm going to see if we can't get the maintainer to cut an official release (or volunteer to do it myself).
https://github.com/backdrop-contrib/iframe
Please, check to see if this module does what you need and if it's a suitable replacement for Link iFrame Formatter. If you find any problems, report there here:
https://github.com/backdrop-contrib/iframe/issues
If you describe exactly how you are using "Link iFrame Formatter" module, people might be able better suggest alternatives.
Here is the description of that module (or others who might be interested):
I looked at that module and it appears to be only about 100 lines of code. I suspect that it would be very easy to port it to Backdrop CMS.
I was going to suggest posted a port request here: https://github.com/backdrop-ops/contrib/issues - But, I went there and @klonos just posted a request for you and even suggested he might try the port himself. Like @klonos, I was thinking that I might give it a try myself, but I don't have time right now.
See port request: https://github.com/backdrop-ops/contrib/issues/355
Posting a comment there might help push this along.