Hey everyone. Brilliant module.
I am creating my own interface in views, that is very task-centric. Its similar to the Tasks view in Storm.
How can I handle Task-sorting in views? I've done some views-customfield trickery to sort child tasks under parent tasks successfully, but I cannot extend this to 3rd generation children.
What I'm doing at the moment is involved, but here is an idea
IF this task is a child task, SortID = $data->parent_task_ID . "B"
IF this task is a parent task, SortID = $data->nid . "A"
As you can see, all children will have their parent task nid then "B" as a Sort ID, so they sort directly under the parent. Then I can use CSS to make them indented.
With a child of a child however, I have no "grandparent_task_ID", or anything else I can relate the three tasks to.
So how do you guys do it on the tasks theme you have? I figure there is a value in the database somewhere I can use to create the indents using css.
Maybe I should just customize the tasks .tpl.php, and use the nice drag and drop?
Suggestions would be awesome. Thanks.
Comment | File | Size | Author |
---|---|---|---|
#2 | Task list.jpg | 54.75 KB | Wes Ashworth |
Comments
Comment #1
Magnity CreditAttribution: Magnity commentedI suspect you're breaking new ground here - i'm not sure of an answer and would welcome any suggestions from anyone...
Comment #2
Wes Ashworth CreditAttribution: Wes Ashworth commentedI'm not seeing any kind of CSS. The attached jps is what I'm getting. Using the Garland theme. What Theme should I use to have cascading tasks?
Thanks
Comment #3
juliangb CreditAttribution: juliangb commentedIf I understand the screenshot correctly, you are on the page /tasks the cascading is only on the tasks tab of a project node.
Comment #4
Wes Ashworth CreditAttribution: Wes Ashworth commentedI can't believe I've never clicked on that tab. I just figured it was the same thing as the icon. That does just what I want.
How can I use the cascade in another view? I'd like to set up a view with a few different fields.
Thanks
Wes
Comment #5
juliangb CreditAttribution: juliangb commented#509250: Move project specific tasks listing should help people find this listing / general usability.
Currently the cascade cannot be done in views. This is something that I would like to get fixed (this issue) if possible.
If you were willing to put some work into a patch, I would certainly review with an aim of committing this.
Comment #6
Wes Ashworth CreditAttribution: Wes Ashworth commentedI'm not a programmer, but have an interest in learning more. If you're willing to give some direction. I'd be happy to help.
Comment #7
Wes Ashworth CreditAttribution: Wes Ashworth commentedhere's my email wes@pm-tbsmith.com
Comment #8
juliangb CreditAttribution: juliangb commentedThis might be a non-trivial piece for someone who is not a programmer. There might be easier places to start!
Comment #9
Wes Ashworth CreditAttribution: Wes Ashworth commentedAny plans to work on this in the near future? I've attempted unsuccesfully to create a views page showing project> task > ticket relationship. I need a report I can use in weekly staff meetings that will let me do a run down of all OPEN tasks/tickets. Surely I'm not the only one using Storm that could use this. What I'm after is something like this:
OPEN ITEMS BY PROJECT
Project Name X
---Task 1
------Ticket 1A
------Ticket 1B
---Task 2
------Ticket 2B
________________________
Project Name Y
---Task.......
Links to their nodes would be excellent, too.
Also, I changed this to Vers 6.x-2.x-dev
Thanks
Comment #10
juliangb CreditAttribution: juliangb commentedImproving the views integration is a priority for me (and I think the views integration - and using default views - should be the main criteria for the 2.x branch going into official releases).
Unfortunately, I and the other Storm maintainers are short of time at the moment so unless other help can be found, things will go at a fairly slow pace.
Would you be able to assist by posting exports of some of your views, with comments on what works and doesn't?