Closed (fixed)
Project:
Finder
Version:
6.x-1.9
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2011 at 18:05 UTC
Updated:
19 Mar 2011 at 17:21 UTC
Would it be possible to embed the finder search in another website (non drupal) as a widget or iframe that would link back to my website.
For example site x would have a finder search and a user would enter the search criteria and hit submit. After submit, it would then send them to my website with the search results.
Comments
Comment #1
javdich commentedI tried using a simple iframe, but it just embeds the entire page, not the block itself.
Comment #2
danielb commentedYou have to include the whole page. You will need to template the finder pages differently to get rid of all the other stuff on the page, like the other regions, etc... I don't remember exactly how to do that, you do something in template.php that tells your theme to use a different page.tpl.php for particular paths.
Comment #3
danielb commentedYou might be able to find some other way to do this by creating your own page callback that just spits out finder_view() and then exits, or something like that, but I would use the template method - sorry I can't give more details, I'm sure someone in the theming community can elaborate.
Comment #4
javdich commentedThanks danielb,
I also found some discussion on embedding drupal blocks on another thread http://groups.drupal.org/node/80619 that had some information as well as some modules, so I'm looking into those options as well. If anybody has used these modules or have succeeded in embedding the finder on other sites let me know.
Here are the links to the modules i found, but have not yet tested:
http://drupal.org/project/web_widgets
http://drupal.org/project/embed_widgets