Search found 6 matches

by silmic05
22 Jul 2011, 11:13
Forum: Customizations
Topic: Problems with defining custom dynamic values
Replies: 2
Views: 3380

Re: Problems with defining custom dynamic values

it works! :D

function custom_function_override_enum_devices() {
global $g_db;
$t_enum = array();

$query = "SELECT Device
FROM mantis_custom_field_device_table";

$res = db_query_bound($query);

$count = $res->RecordCount();
for ($i=0; $i<$count; $i++) {
$row = db_fetch_array( $res ...
by silmic05
22 Jul 2011, 11:10
Forum: Deutsch
Topic: Problem beim Mantis Update 1.2.0 auf 1.2.5
Replies: 5
Views: 6649

Re: Problem beim Mantis Update 1.2.0 auf 1.2.5

vielleicht funktioniert es deine alte datenbank als sql zu exportieren und in der neuen installation zu importieren.

mir ist wieder eingefallen das der von dir beschriebene fehler bei mir nur aufgetaucht, wenn ich versucht
habe die neue version ganz neu zu installieren ohne irgendwelche daten. das ...
by silmic05
22 Jul 2011, 10:52
Forum: Customizations
Topic: Retrieve custom field value from php code
Replies: 3
Views: 5798

Re: Retrieve custom field value from php code

hi,

does this function also work dynamically?
i mean when i'm actually report an issue and change the value in a custom enumeration field,
so that the next custom enumeration field can get the selected data of the previous field and
gets according to this its data dynamically from the database ...
by silmic05
22 Jul 2011, 07:34
Forum: Customizations
Topic: Problems with defining custom dynamic values
Replies: 2
Views: 3380

Re: Problems with defining custom dynamic values

I have found out that $result is losing his data after the first echo output. So therefore it's reasonable
that there could be no data in the array. BUT why does this happen.

Can anybody help me, please?
by silmic05
21 Jul 2011, 12:50
Forum: Deutsch
Topic: Problem beim Mantis Update 1.2.0 auf 1.2.5
Replies: 5
Views: 6649

Re: Problem beim Mantis Update 1.2.0 auf 1.2.5

hatte das selbe problem als ich kürzlich auf 1.2.5 upgraden wollte.

hab es dann damit gelöst, in dem ich die datenbank für die neue version
manuell im phpmyadmin angelegt habe. in deinem fall also einfach eine
neue "test" datenbank anlegen und danach die installation durchführen.

liegt ...
by silmic05
21 Jul 2011, 08:20
Forum: Customizations
Topic: Problems with defining custom dynamic values
Replies: 2
Views: 3380

Problems with defining custom dynamic values

Hi all,

I'm a beginner in Mantis, but I have to do some customizations for my office.

Ok, the problem is that we need some dynamic custom fields which can read from the database
from selfmade tables like "mantis_custom_field_table_device". I have already created the table
with the fields ID, Type ...