Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Saturday, May 9, 2015

Pass JSON To Drupal Page

I worked on a complex javascript application that comprised of many checkboxes, textfields, dropdowns and multiple steps. The data needed to be stored in a database and since I didn't use Drupal's Ajax, I needed to pass the data asynchronously elsewhere for that to be handled.

Saturday, February 28, 2015

View Exposed Filter with a dropdown/select and textfield

In this example, we'll edit the commerce orders view. We need to edit the exposed filters in the view's configuration so we can then modify it programmatically and add more form elements. Without a preexisting exposed filter, there won't be a form to modify.