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.

CommentFileSizeAuthor
#2 Task list.jpg54.75 KBWes Ashworth
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Magnity’s picture

I suspect you're breaking new ground here - i'm not sure of an answer and would welcome any suggestions from anyone...

Wes Ashworth’s picture

Issue tags: +CSS
FileSize
54.75 KB

I'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

juliangb’s picture

If I understand the screenshot correctly, you are on the page /tasks the cascading is only on the tasks tab of a project node.

Wes Ashworth’s picture

I 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

juliangb’s picture

Category: support » feature

#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.

Wes Ashworth’s picture

I'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.

Wes Ashworth’s picture

here's my email wes@pm-tbsmith.com

juliangb’s picture

This might be a non-trivial piece for someone who is not a programmer. There might be easier places to start!

Wes Ashworth’s picture

Version: 6.x-1.9 » 6.x-2.x-dev

Any 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

juliangb’s picture

Improving 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?