Widget creates the following code:

<script type="text/javascript">widgetContext = { "url": "http://www.mywebsite.com/wigdet/58/menu/menu_category", "width": 200, "height": 200, "widgetid": "web_widget_iframe_5408cd80fc8f8ceec726d390f5fcc629" };</script><script id="web_widget_iframe_5408cd80fc8f8ceec726d390f5fcc629" src="http://www.themenuhub.net/sites/all/modules/web_widgets/iframe/web_widgets_iframe.js"></script>

The source URL in this code: http://www.mywebsite.com/wigdet/58/menu/menu_category

...is just a blank page.

Comments

problue solutions’s picture

I think this is a problem with the widget path.

I have a simple view which has no arguments, so I have no idea what I should be using for the widget path, the help snippet only refers to a path using arguments.

If my page view is at: www.mysite.com/my-view

What should I put for the widget path?

problue solutions’s picture

Status: Closed (fixed) » Active

apologies, it wasnt anything to do web widgets or views, I only had the < html > tag in the html file I was testing the snippet, forgot to add the < body > tag which prevented the iframe from displaying. whoops.

problue solutions’s picture

Status: Active » Closed (fixed)

Status: Active » Closed (fixed)