Posted by dropcube on February 3, 2009 at 7:24pm
| Project: | Component |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#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
#4
Tried patch - works as expected. Thx!
#5
#3 is not a valid patch. #2 is, though, and I couldn't tell what's different, so I committed that. Thanks, dropcube!
#6
Automatically closed -- issue fixed for 2 weeks with no activity.