I just wrote some documentation about how to set up the web widget in views. Feel free to add it to your documentation.
There is currently on a 'wiki' page on a project site we are working on - so that page may change as we learn more.
This is the first draft of documentation:
_____
If you want to add 'web widget' to your drupal site (turn a view into a widget)
Do this:
1. Get the web widget module
2. Enable it
3. Set up your 'Default' view with the information you would like to display.
4. Add a "Web Widget" display setting.
5. In the "Web Widget" display settings - you want to make a path that will only be used for the widget.
* You probably don't want to use the path for an existing page - as it will put your entire Drupal page in the iFrame.
* You can see what the widget will look like by visiting that path after you save the view.
* If the page appears as very plain markup...that's a good sign. You only want to see the contents of your view.
6. You can attach the widget display to another display (default, page, block etc.) - it will show up below the views output by default.
7. As of this writing (7/30/2010), it seems like iFrame works, and inline has an issue in the issue queue
8. This module *does* work with javascript (views slideshow, for example) - though to get my simple slideshow of 'node titles' to display, I needed to set dimensions for the slideshow.
Comments
Comment #1
lolandese commentedHelpful. Thanks.
Comment #2
andrés chandía commentedAs the wiki page is not working and this is the only documentation I have found, and besides all that I'm new to widgets and views, could you please extend a little the explanation on how to create a widget, put some examples and give more details for each step.
This is my case, I have a content type called "file" which I use to upload videos, presentations and sound files, which I can play on line, but I also need to provide the embedding code of the file (video, sound, presentation), not of the whole page, only of the specific content mentioned before. As I explained I'm new to views so I would need some kind of guide to achieve what I need, so please, if you could give more detailed advice I would appreciate it.
Thanks a lot.
Comment #3
clemens.tolboomPlease help create better documentation through http://drupal.org/node/1835276
Comment #4
lolandese commentedAdded here. Thanks again.
Comment #5
clemens.tolboomAwasome ... thanks.