Page 1 of 1

Customizing ETA drop-down list

Posted: 03 Jul 2007, 09:10
by NickDeGraeve
I'm trying to add 2 extra items to the ETA drop-down list but I can't get them to appear.

I tried following the entry in the manual about Enumerations but it isn't clear what files to create or modify.
I added my new fields to config_inc.php and lang/strings_english.txt:

Code: Select all

moria:/opt/mantis# cat config_inc.php | grep _eta
$g_eta_enum_string = '10:none,20:< 1 day,30:2-3 days,40:< 1 week,41:1 week,42:2-3 weeks:50:< 1 month,60:> 1 month';
moria:/opt/mantis# cat lang/strings_english.txt |grep _eta_
$s_eta_enum_string = '10:none,20:< 1 day,30:2-3 days,40:< 1 week,41:1 week,42:2-3 weeks:50:< 1 month,60:> 1 month';
The manual also seems to say I need to add the definitions to core/constant_inc.php but that one doesn't have any definitions for the other items of the drop-down list.

The new fields don't appear.


What am I doing wrong?

We're using version 1.0.6.

Posted: 05 Jul 2007, 07:26
by NickDeGraeve
Is there really no-one here that can help me? I'm a bit disappointed. :(

Posted: 09 Jul 2007, 04:55
by dingfelder
this may not help but I seem to remember habving to restart apache or maybe clear my browser cache?