Project:Web Widgets
Version:6.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Is it possible to embed a node? Or is it only views?

Comments

#1

First, with views you can display a single node as well, so this is not a problem.
Secod, if we're talking about the API-side,

web_widgets_render_widget($style, $content, $title, $add_target = TRUE)

$content can be filled up from a node, of course.

#2

Version:6.x-1.0-beta1» 6.x-1.0

I am using the latest, but I currently don't see the node option in the Row style. Or should I just go ahead creating the regular node-view-VIEWNAME.tpl?

Thanks

#3

Yes but this only works if you create a view per node. I have thousands of nodes, is the expectation here that I create a view for every node?

#4

I'm probably wrong on the assumption from the previous post, but can I still get a clarification please?

#5

If you want to have a widget for each node, perhaps you could accomplish this using view arguments. Simply set up a view that takes a nid as an argument. This is will filter the result to show only that nid.

#6

Thank you, and for attaching to the node, do I create a block and attach that to a node, and attach the widget to the block? Do I also hide the block content? Or is there a better way? Thanks.