Call to undefined function print_column_title_platform()

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
warde06

Call to undefined function print_column_title_platform()

Post by warde06 »

I am working with Mantis 1.0.0a2 and I just followed the instructions posted in the Customization topic "Select What Columns to View"

http://forums.mantisbt.org/viewtopic.ph ... tform#1018

I would like to add a column for os and platform (trying one at a time) I created the override file and added the line $t_columns[] = 'platform';

But now I get the following error and the column is not shown:
Fatal Error: Call to undefined function print_column_title_platform() in /usr/local/apache/htdocs/mantis10test/core/custom_function_api.php on line 205.

Any suggestions?
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

Two additional functions need to be supplied to add a new column (print_column_title_<column name>() and print_column_<column name>()).

Could you please file an issue on this since we should fall back to some representation, rather than error. The tracker is at http://bugs.mantisbt.org/ .
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

I added default routines to CVS.
warde06

Post by warde06 »

Wonderful! That worked. Thank you very much for your help.
langis

printing Description and Additional Information in CSV expor

Post by langis »

I followed all the examples to try to print the field Description and additional Information in the CSV export file, but I get a similar error:
undefined print_column_title_description function. Is it explained anywhere how to create the 2 additional functions you are describing in this problem?
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

See http://www.futureware.biz/blog/index.ph ... &tb=1&pb=1 for details on the overall process.

The simplest way to create the function is to clone a similar function from core/column_api.php .
Post Reply