Hi Roberto, first off thanks for fixing the problem I was having so fast, was really impressed by that, I did install the CVS for it and its working a treat now.

I noticed that when you look in the attributes and go to add a tickets it gives you a choice to have a category such as bug, request, feature etc and I was wondering would it be possible to have the same sort of category pull down menu for the tasks, as I would like to have tasked categorised by type, such as administation, promotions, creative output, etc.

Do I have to go to the categories taxonomy to do that, or is it a cck field, as I did try having a look at the content type field for Tickets and couldnt see any fields attached.

What would be the best way to implement it within the Storm system?

CommentFileSizeAuthor
#2 attributes.jpg22.96 KBKerrySanto
#2 taskpage.JPG19.08 KBKerrySanto

Comments

Roberto Gerola’s picture

Assigned: Unassigned » Roberto Gerola
Category: support » feature

Of course you can implement this using cck or taxonomy, but I think it has a sense
to add category and priority fields to tasks.
I'll add also priority field to projects.

Roberto

KerrySanto’s picture

StatusFileSize
new19.08 KB
new22.96 KB

I guess I didnt explain that too well as I am particularly bad at that, what I was trying to do was change the attributes so I could have Task category which worked fine at the attributes page

i have attached the attributes.jpg file

but didnt show up on the task page so I could choose.

i have attached the taskpage.JPG

I altered the domain options below to include task category but am not sure how I get it to work in the task page so it would be a required field like the project and organisation. I dont know any php at all so was a bit scared of trashing it, I did go and have a look at the corresponding docs for the task module but was unsure where to add stuff to. Would you be able to post a bit of code with instructions that would allow me to insert task category on the actual page. I would also like to say that I appreciate your time and effort and your help that you have given so far.

function _stormattibute_domain_options() {
static $options;
if (!$options) {
$options = array(
'Country' => 'Country',
'Currency' => 'Currency',
'Price mode' => 'Price mode',
'Task category' => 'Task category',
'Task status' => 'Task status',
'Task status search' => 'Task status search',
'Ticket category' => 'Ticket category',
'Ticket priority' => 'Ticket priority',
'Ticket priority search' => 'Ticket priority search',
'Ticket status' => 'Ticket status',
'Ticket status search' => 'Ticket status search',
'Project category' => 'Project category',
'Project status' => 'Project status',
'Project status search' => 'Project status search',
);
}
return $options;

Roberto Gerola’s picture

Yes, but some code is necessary.
I'm working on this, it should be available tomorrow.

Roberto Gerola’s picture

Status: Active » Fixed

Fixed in cvs and 1.4 release.

beckstei’s picture

This will be a stupid question, so don't yell at me too much. I just opened a site with drupal for the first time and have an issue that I've not been able to figure out. (I don't have access to source code, just trying to use the attributes to fix).

Storm tasks. There's a drop down field for both priority and category. There are no values in those drop downs. Attributes does not contain a domain called task priority or task category to edit to add values (I'm guessing that's what I would want to do). I don't seem to have the ability to add a new domain and choosing from existing domains doesn't seem to get me what I need either.

So, how do I add values to the task priority and task category fields?

Thanks
B

beckstei’s picture

Here's another thing: I'm getting an error message that the key and value fields are required when I hit cancel from attributes/add?destination=strom%2Attributes.

Thanks
B

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

amariotti’s picture

Status: Closed (fixed) » Active
flickerfly’s picture

Status: Active » Closed (fixed)

#303942: Missing Attribute Values was closed awhile ago.