This topic is locked

numbers2words

12/6/2007 11:57:07 AM
PHPRunner General questions
U
uludag author

Hi,

I am trying a make a library catalog management. I would like it to be serchable. So I tried phprunner. Everything is going well except id's such as language id, barrower id, publisher id etc. This sections appears on the final screan as numbers. I feel those can be transformed to real words, but I do not know how.

I wonder if you be kind enough to help me.

Sincerely,

Uludag.

Sergey Kornilov admin 12/6/2007

You can proceed to the Visual Editor and setup those fields as "Lookup Wizard".
In this case corresponding values from lookup tables will be displayed automatically.

U
uludag author 12/10/2007

Thank you very much, admin.

The problem is solved except the number -1.

I am using Bookcat, and it put -1 if the column is empty, namely if there is no entry for publisher, barrower etc, there appears -1.

Now, I managed to transform the other numbers to names. But, -1 is still there. I prefer it to be appeared as empty. Is that possible?

Sincerely,

Alexey admin 12/10/2007

Hi,
try using Custom view type for your field.

Something like:

if($value==-1)

$value="";