Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Feb 2011 at 03:55 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pcambraComment #2
dpolant commentedPatch provides global views area form that has two controls (a text field for entering an order id and a select control for specifying whether to go the admin or customer view) and a submit button.
Comment #3
rszrama commentedDiscussed this with Dan in IRC. I actually intended the result to be a standalone form that got rendered into the area instead of using the Views form functionality (which turns the whole View into a form). Using Dan's work as a base I've made the conversion and moved the code to the Order UI module where we now have a commerce_order_ui_redirect_form defined for use by the area handler. The only limitation on this now would be what happens if a form gets rendered inside a form; i.e. this area handler on a Views form. I'm not exactly sure where / how such a case would be handled, but it's fringe enough right now that it shouldn't be an issue with this particular patch.
Commit: http://drupalcode.org/project/commerce.git/commitdiff/b97a6e2
Comment #4
amateescu commentedThe commit from #3 introduced a strict warning and a css issue:
All fixed in the attached patch :)
Comment #5
rszrama commentedGood catch! Thanks for the quick follow-up. : )
Looks like somebody (me) needs to ensure he's developing on strict...
Comment #6
rszrama commented