This topic is locked

custome view page

8/3/2005 2:42:18 PM
PHPRunner General questions
author

Hi, I would like to know in a view page how can I customize it? like I have a photo field and would like to show it in the view page not in a colum, but rather in a second column next to the name.

exemp:

lastname photo

firstname

Thanks.

admin 8/4/2005

Hi,
to do this for the Photo field open ..._view.php file in any text editor,

find this code snippet :

              }

echo "</td></tr>";

$i=array_search("Photo",$fieldlist);

$value=$data["Photo"];

echo "\r\n<tr><td class=shade>".Label("Photo")." </td><td>";


and replace it with this one:

}

echo "</td>";

$i=array_search("Photo",$fieldlist);

$value=$data["Photo"];

echo "\r\n<td>";

501223 8/11/2005

Hi, I still have the same result.

I want to have

Lasname--------------------------------------------------------Photo

Firstname
Like in a second colum.

admin 8/12/2005

Boris,
I can modify this page for you.

I will need the whole contents of PHPRunner output folder including subfolders and your database creation script.

Please zip and send the files to support@xlinesoft.com