add custom field on csv export on mantis 1.1.8

Post about your customizations to share with others.

Moderators: Developer, Contributor

add custom field on csv export on mantis 1.1.8

Postby s.bondi » Feb 17, 2012 9:49 am

Hello,
I tried to follow the steps on the video retrived on other discussion
----------------------------------
Re: How can i customize CSV export
Should work the same way I explained for "View Issues" columns.
Use csv_columns instead of view_issues_page_columns
http://www.atrol.de/mantisbt/Customview.wmv
-------------------------------------------------------------
but when I tried to export the csv the file is corrupted. On the csv file appear:
<p style="color:red">SYSTEM WARNING: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array</p><p style="color:red">SYSTEM WARNING: Invalid argument supplied for foreach()</p><p style="color:red">SYSTEM WARNING: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array</p><p style="color:red">SYSTEM WARNING: Invalid argument supplied for foreach()</p><p style="color:red">SYSTEM WARNING: array_values() [<a href='function.array-values'>function.array-values</a>]: The argument should be an array</p><p style="color:red">SYSTEM WARNING: Invalid argument supplied for foreach()</p>

Can anyone help me?
s.bondi
 
Posts: 3
Joined: Feb 17, 2012 6:10 am

Re: add custom field on csv export on mantis 1.1.8

Postby atrol » Feb 18, 2012 4:19 am

1.1.8 is outdated.
I recommend to use latest stable version (1.2.8 at the moment).
1.2.8 provides pages where users can customize the columns in an easier way.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 4719
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: add custom field on csv export on mantis 1.1.8

Postby s.bondi » Feb 20, 2012 6:19 am

thank you very much! I will do it
s.bondi
 
Posts: 3
Joined: Feb 17, 2012 6:10 am


Return to Customizations

Who is online

Users browsing this forum: No registered users and 4 guests