Closed (fixed)
Project:
Embed Views Display
Version:
7.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 May 2011 at 13:33 UTC
Updated:
3 Apr 2013 at 15:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
grndlvl commentedI am not quite following and the image you linked had been removed. Could you upload again? Probably best to upload to ticket that way it does not get removed so quickly.
Comment #2
vishalkhialani commentedHi,
Here you go.
As you can see the layout is such that the exposed form will be at the top banner and I want the results to be shown via ajax on the bottom of the screen.
I have been trying to get this done for quiet some time.
Cheers,
Vishal
Comment #3
grndlvl commentedI have now added code that will support the exposed form block just as in the page display. I have also added support for manually embedding the exposed form manually.
These changes are available in the 7.x-2.x branch currently.
I need to update some advanced_help code and provide some code examples for using the embed exposed form utility.
Once I update the documentation etc... I will release the module into beta.
Comment #4
grndlvl commentedComment #5
grndlvl commentedDocumentation
To figure out the id of a display, look under Other, in the
view edit page for the particular view that will be embedded, for
Machine Name what ever this name is is what should be used
for the $display_id variable.
Usage
Simple version of code to embed an exposed filter.
Embedding a view's exposed form for an alrady created view using the
embed_views_exposed_form() helper function.
Embedding a view's exposed form for an already created view using the
display's embed_views_exposed_form() helper method.
Comment #6
grndlvl commentedComment #8
topdawg commentedI'm getting this error:
Fatal error: Call to undefined function embed_views_exposed_form() in C:\apache\xampp\htdocs\nickray\modules\php\php.module(74) : eval()'d code on line 2
Comment #9
grndlvl commentedWhich version of embed_views_display?
Comment #10
topdawg commentedThank you -- embed_views-7.x-1.1
Comment #11
grndlvl commentedOk then that's the issue if you want the embed_views_exposed_form functionality you need to update to the 7.x-2.0-beta1
Comment #12
nicolas bouteille commentedAwesome thanks!