Active
Project:
Views Arguments Extras
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2011 at 21:50 UTC
Updated:
22 Aug 2012 at 14:21 UTC
Are there plans for a Drupal 7 version of this module or does Views 3 include those little helpers per default? I'm asking in particular for the Views Argument Sort.
Comments
Comment #1
drupa11y commentedsubscribe
Comment #2
e2thex commentedI am not sure if this whole thing is going to port to 7 but I do think i will be working on the arg sort
Comment #3
e2thex commentedOk I now have 7.x version
It has the field default arguments and the sort
Note there was lots of renaming (no longer called cck and such)
Comment #4
thomas4019 commentedI can't seem to get the "Multi-item argument order" to work.
For one, it seems the following line needs to be added to the info file. Without it, Views just says "broken/missing handler".
files[] = views_sort_by_arg_order_handler_sort.inc
After adding that line, the options form is never presented and the overlay times out.
Comment #5
thomas4019 commentedIt's timing out because of the error
Call to undefined function views_process_dependency()
Looks like the forms api code needs to be moved from dependent system to the new Drupal 7 states system, http://randyfay.com/states
Comment #6
e2thex commentedOk looking now, should have a new commit shortly
Comment #7
e2thex commentedI had missed the updates to the sort with the first branching
they are in dev now
commit 4fc3a30b32618c489eb2cb329d2a9f2d7294e34e
se: Fri May 27 14:56:26 2011 -0400
Updating view_sort_by_arg_order_handler_sort for d7
Comment #8
e2thex commentedso the last one did not get pushed
but now it is pushed in the commit
commit 2c59451b4fef8b7b46eaba886baa2b4e2bc257f4
Author: Erik Summerfield
Date: Thu Jun 2 15:50:18 2011 -0400
Updating view_sort_by_arg_order_handler_sort for d7
Comment #9
bartclarkson commentedHi e2thex.
This module is incredibly useful. I use it to give advanced content managers exacting control of views handled through panels. Use/Move this post as you will.
I just wanted to share an important tidbit for others looking to create a multiple argument programatically in Views as a default argument.
When using the PHP Validator textarea, the key to getting the Sort Criteria to work with your PHP-driven argument is to attach it to both the handler and the view directly.