Documentation?

taite11 - December 15, 2008 - 01:05
Project:Views embed
Version:6.x-1.x-dev
Component:Documentation
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

How is this used?
There's no instructions on the project page, no Readme.

#1

davexd - December 30, 2008 - 00:33

Just figuring it out, but here's something that can be used as a starter for the docs:

1. Add a view & configure it as normal.
2. Once you are happy with your View, go to admin/build/views/tools/embed
3. Select the view that you want to be able to embed.
4. This is where I get stuck. How do I embed the view?
I see this in the module file:

function views_embed_render($name) {
  print views_embed_view($name, 'page');
}

That looks like our ticket but how on earth do I use that to call the view from my own external .php file?

 
 

Drupal is a registered trademark of Dries Buytaert.