Pass additional parameters as view arguments
dropcube - February 3, 2009 - 19:24
| Project: | Component |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
component_get_view($view_name, $display) Outputs a views based on the view and display name, but do not pass additional parameters as view arguments to the view. It uses views_embed_view which will pass any additional parameters as arguments. Would be good to have this feature.

#1
Yes. Patches welcome. :-) (It was upgraded in a hurry.)
#2
Attached a patch. It's simple.
#3
Tried this patch and had an issue so I made a couple tweaks - the attached is working for me.
Thanks Crell!
Jer