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 2010-08-06 13:04:29

u_sup
Member
Registered: 2010-08-06
Posts: 23

Plug-in Project

At first thanks to All GLPI Team.

I have some question about the “Projet” Plug-in :
1.    Any idea about how to copy a Project ?

2.    I couldn’t print my "Gantt Chart" in IE browser ?
PunBB bbcode gantt


3.    I m using PDF-export  function, any idea about how to print the doc in Landscape Orientation, or how to change the size of txt
PunBB bbcode project

4.    I don’t know how I can sort my projects adapted to my “Gantt” list !
PunBB bbcode project

Many thanks for your help

Regards

Offline

#2 2010-08-06 14:47:21

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

Re: Plug-in Project

1. You cannot duplicate a project (to be coded)

2. See wiki project : https://forge.indepnet.net/projects/projet/wiki

3. modify the code

4. You cannot (to be coded)


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2010-08-07 23:21:17

u_sup
Member
Registered: 2010-08-06
Posts: 23

Re: Plug-in Project

Thanks for your answer, could you please more explain ?

about my request 2 and 3


Regards

Offline

#4 2010-08-08 10:46:36

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

Re: Plug-in Project

2. you have a problem with gd library or you haven't glpi/files/_plugins/projet folder

3. ligne 290 inc/export.function.php into projet 1.0.1
$PDF->Cezpdf('a4', 'portrait');


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2010-08-09 14:32:09

u_sup
Member
Registered: 2010-08-06
Posts: 23

Re: Plug-in Project

Hello tsmr,

Sorry to disturb you again.

2. How I can resolve this issue ? I have this directory "glpi/files/_plugins/projet" with full access ! but I couldn't print the "Gantt", I still receive the same error message.
3. Yes, Ican change the orientation to Landscape but the txt and table take always the same size.

haw I can change the default size of text ?


Thanks

Offline

#6 2010-08-09 16:55:24

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

Re: Plug-in Project

2. and your gd2 library ?

3. See ezText options of ezPDF library


Xavier Caillaud
Blog GLPI Infotel

Offline

#7 2010-08-10 12:53:51

u_sup
Member
Registered: 2010-08-06
Posts: 23

Re: Plug-in Project

1. what do you mean with gd2 library ?
2. ezText and ezPDF library?

Sorry I m a new member und I don't know what does it mean


Regards

Last edited by u_sup (2010-08-10 18:25:58)

Offline

#8 2010-08-11 08:51:20

u_sup
Member
Registered: 2010-08-06
Posts: 23

Re: Plug-in Project

1. I dont have any folder with name gd2 !
2. I found the PHP file, but I don't know which code should changing :

function ezPrvtTableColumnHeadings($cols,$pos,$maxWidth,$height,$decender,$gap,$size,&$y,$optionsAll=array()){
  // uses ezText to add the text, and returns the height taken by the largest heading
  // this page will move the headings to a new page if they will not fit completely on this one
  // transaction support will be used to implement this

  if (isset($optionsAll['cols'])){
    $options = $optionsAll['cols'];
  } else {
    $options = array();
  }
 
  $mx=0;
  $startPage = $this->ezPageCount;
  $secondGo=0;

Thanks

Offline

#9 2010-08-12 09:18:58

u_sup
Member
Registered: 2010-08-06
Posts: 23

Re: Plug-in Project

any idea ?

Offline

#10 2010-08-12 09:23:03

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

Re: Plug-in Project


Xavier Caillaud
Blog GLPI Infotel

Offline

#11 2010-08-12 10:51:30

u_sup
Member
Registered: 2010-08-06
Posts: 23

Re: Plug-in Project

the GD2 was already configured.
Just for more info I can see my "Gantt" but I couldn't print it via Internet Explorer 8 or PDF  !

Regards

Offline

#12 2010-08-12 11:04:07

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

Re: Plug-in Project

It's an image. You can save it as png or it is in the project pdf file (at the end)


Xavier Caillaud
Blog GLPI Infotel

Offline

#13 2010-08-12 14:57:59

u_sup
Member
Registered: 2010-08-06
Posts: 23

Re: Plug-in Project

Just test it in Firefox and Google and it works, so why it doesn't work in Internet Explorer ?

the most of user in our company use IE8

Thanks

Offline

Board footer

Powered by FluxBB