Posted by qwermans on March 31, 2010 at 3:45pm
4 followers
Jump to:
| Project: | Web Widgets |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Inline embed code doesn't work
i created a poll, and sent this poll to another site with webwidgets module. this poll views(no viewing problem), but when you vote, there is a error.
Method Not Allowed
Error 405
what is this?
how can i correct?
Comments
#1
1.0 and 1.1
#2
The inline embed style doesn't work for me either. Instead of the actual view that should be output, the following text is being output:
window.onload = function() { document.getElementById(widgetContext['widgetid']).innerHTML = "\x3cdiv class=\"view view-node-widget view-id-node_widget view-display-id-web_widgets_1 view-dom-id-1\"\x3e\n \x3cdiv class=\"views-admin-links views-hide\"\x3e\n \x3cul class=\"links\"\x3e\x3cli class=\"0 first\"\x3e\x3ca href=\"http://localhost/admin/build/views/edit/node_widget?destination=node%2F2%2Fwidget#views-tab-web_widgets_1\" target=\"_top\"\x3eEdit\x3c/a\x3e\x3c/li\x3e\n\x3cli class=\"1\"\x3e\x3ca href=\"http://localhost/admin/build/views/export/node_widget\" target=\"_top\"\x3eExport\x3c/a\x3e\x3c/li\x3e\n\x3cli class=\"2 last\"\x3e\x3ca href=\"http://localhost/admin/build/views/clone/node_widget\" target=\"_top\"\x3eClone\x3c/a\x3e\x3c/li\x3e\n\x3c/ul\x3e \x3c/div\x3e\n \n \n \n \x3cdiv class=\"view-content\"\x3e\n \x3cdiv class=\"item-list\"\x3e\n \x3cul\x3e\n \x3cli class=\"views-row views-row-1 views-row-odd views-row-first views-row-last\"\x3e \n \x3cdiv class=\"views-field-title\"\x3e\n \x3cspan class=\"field-content\"\x3e\x3ca href=\"http://localhost/node/2\" target=\"_top\"\x3e\x3ch2\x3eStory #1\x3c/h2\x3e\x3c/a\x3e\x3c/span\x3e\n \x3c/div\x3e\n\x3c/li\x3e\n \x3c/ul\x3e\n\x3c/div\x3e \x3c/div\x3e\n \n \n \n \n \n \n\x3c/div\x3e "; };
#3
#4
burakg91, thanks for the report. Forms are currently not supported by the inline style. The IFrame style supports forms.
BenK, when do you see that output? On the page that you are embedding in or at the widget path that you specified in the view? This javascript is used to power the widget, so it's normal to see it at the view path.
For example, if I configure the path of my widget view to be frontpage/widget and I navigate to that path with my browser, it is normal to see output like that. If you are seeing that output on the page that you're embedding into, there is an issue, which I have not been able to reproduce. Please provide more info. Thanks!
#5
This issue is "too long" in state "postponed (maintainer needs more info)"