You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-03-19 13:13:14

FRAD
Member
Registered: 2008-01-24
Posts: 59

Plugin Activities

Hi,

is it possible to create more fields in the activity form?

- Status
- Priority

I miss on the overview form the search-filter (OR NOT...)

Offline

#2 2008-03-19 13:49:39

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Plugin Activities

You must code it.


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2008-03-19 15:36:46

FRAD
Member
Registered: 2008-01-24
Posts: 59

Re: Plugin Activities

ok, how can i insert the new field in to the overview?

I have added a new db-field, and i have added the new input field into the html code... But how can insert the new field in the overview list?

On which other things must i think?

Bye

Last edited by FRAD (2008-03-19 15:37:22)

Offline

#4 2008-03-19 20:31:24

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Plugin Activities

in setup.php


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2008-03-20 09:57:07

FRAD
Member
Registered: 2008-01-24
Posts: 59

Re: Plugin Activities

hi,

do you have more details?

Offline

#6 2008-03-20 11:24:11

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Offline

#7 2008-03-20 12:26:07

FRAD
Member
Registered: 2008-01-24
Posts: 59

Re: Plugin Activities

Hi,

i found it wink

How can i set the title for every column? How can insert the new field into the popupwindow (global View)?

Offline

#8 2008-03-20 12:45:08

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Plugin Activities

$sopt[PLUGIN_EXAMPLE_TYPE][1]['table']='glpi_plugin_example';
$sopt[PLUGIN_EXAMPLE_TYPE][1]['field']='name';
$sopt[PLUGIN_EXAMPLE_TYPE][1]['linkfield']='name';
$sopt[PLUGIN_EXAMPLE_TYPE][1]['name']=$LANGEXAMPLE["name"];


Xavier Caillaud
Blog GLPI Infotel

Offline

#9 2008-03-20 12:55:23

FRAD
Member
Registered: 2008-01-24
Posts: 59

Re: Plugin Activities

must i do specials things when i want to create a dropdown with the green button?

Offline

#10 2008-03-20 12:56:46

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Plugin Activities

you must create table and define it into setup.php


Xavier Caillaud
Blog GLPI Infotel

Offline

#11 2008-04-01 09:15:02

FRAD
Member
Registered: 2008-01-24
Posts: 59

Re: Plugin Activities

hi,

can you develope the 2 new field for me?

We pay for the effort!

IS this possible?

Offline

Board footer

Powered by FluxBB