Make a way to show views by assigned to

deggertsen - October 1, 2009 - 15:46
Project:Storm
Version:6.x-1.x-dev
Component:Storm.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Has any development started here? It would be really nice to have some pre-built examples.

I have been playing with views in storm and can't quite do the things I would like to because of a limit in replacement patterns (for example if you would like to output "Storm: Project Manager Title" as a link to that project managers person page) and not allowing it to use the "Assigned to" field in filters etc.

#1

Magnity - October 1, 2009 - 20:22

See #576054: Addition of views examples module - there isn't actually going to be a new component (I will remove the component from the issues dropdown), but at somepoint will add some to the relevant modules.

If you've built any useful ones - please do export and share!

#2

Magnity - October 2, 2009 - 22:42
Component:Storm Views Examples» Storm.module

Reading through your post again:

- 'Storm: Project Manager title' can be output as a link to the Storm person node. To do this, also load the field 'Storm: Project Manager nid' into the view, and use this as part of the replacement pattern.

- I'll add the filter for assigned to.

#3

Magnity - October 3, 2009 - 23:25

@deggertson: Re the assigned to filter, are you looking for it to display a dropdown of Storm People / Storm Teams or something like that?

I've just made a few improvements to the filters just now - it is definitely possible to filter at the moment but not very user friendly as you'd need to know the node id of the person or team. I'll write a handler to make it a bit more user friendly at some point.

#4

deggertsen - October 5, 2009 - 20:00

Thanks Magnity! You've already helped so much!

So this is what I'm trying to do. I would like to create a view that lists all the projects assigned to the person currently logged in... It has been a bit difficult for me to figure out how to make this work or if it's even possible. I've attached a txt file with the code for the view I have so far. I am by no means a views expert but am learning and appreciate your help and feedback.

Thanks again!

AttachmentSize
my_projects_view.txt 4.4 KB

#5

Magnity - November 30, 2009 - 01:43
Title:Storm Views Examples» Make a way to show views by assigned to

Long time, no comments...

A user can be assigned directly as a Storm Person, or indirectly in a Storm team. There probably is a way of doing the logic, but I'm not exactly sure of what it would be at the moment - it wouldn't be simple.

Will think about a way to either:
a) make it simpler
or b) figure out the way to configure it.

This should be one of the views shipped with Storm I reckon, I'm sure a lot of people would want to see this type of thing.

 
 

Drupal is a registered trademark of Dries Buytaert.