I added a Web Widget attachment to a page in Views, and tested the embed code provided on a basic HTML page. This is the embed code:
widgetContext = {"url":"?width=200\u0026height=200","width":200,"height":200,"widgetid":"web_widget_iframe_90fbfecd0827c9153a465728bc35aae9","scrolling":"auto"};
I had set the width and height to 600px, but that is not here. Nor is the URL. The iFrame instead renders a smaller version of the page its on (in this case, a basic HTML page).
Inline doesn't display at all.
I think you for your help in advance.
Michael
Comments
Comment #1
carsonblack commentedI am having the same issue.
Comment #2
ngreenup commentedSame issues here
Comment #3
broncomania commentedSame here
Comment #4
broncomania commentedOkay we have to change the function attach_to($display_id) to this:
it is located in views/web_widgets_plugin_display_web_widgets.inc and now works the url, height and width in the embedded code.
Comment #5
broncomania commentedComment #6
dlumberg commentedConfirming that #4 fixed the problem for me.
Comment #7
clemens.tolboomI set this RTBC as I only created a patch file from #4 @broncomania work :-)
URL, width and height appear into the embed code.
Comment #8
clemens.tolboomPushed to 7.x-1.x