Calling views fast search from php
Ken Hawkins - May 18, 2008 - 21:38
| Project: | Views Fast Search |
| Version: | 5.x-2.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Looking for a little guidance on how I can call the search from a PHP file. (I want to be able to use a value from a story node as the search word).
I assume it would be something like this, but I couldn't find any documentation on what I should pass to the search function.
$view = views_get_view('related_content');
print views_build_view('embed', $view, array($title), false, 8);