This topic is locked

View column

2/12/2006 5:24:27 PM
PHPRunner General questions
D
dazza author

Im playing around with the trial version and i really like what i see, but i have one question.
If i make a list of things, lets say Cars.
in the list.php file
it will have a View column and also i have the name of the car, is it possible to remove the view column and make the cars name the hyper link? if so how would i do this?

admin 2/13/2006

Hi,
PHPRunner don't have this property.

For your aim you can do some changes by hand in ..._List.php.

D
dazza author 2/13/2006

Alright so, ill just work out the php then. Thanks

Also one more quick question, is there an easy way to place the image where i want in my design?
Edit: Any tips on what part to edit for the links? thanks

D
dazza author 2/13/2006

Ok, i figured out what part to edit and now have made them links.
If anyone has any info on the image that would be great.

Also anyway to change the search box area to just a simple search box, with no other options?

admin 2/14/2006

Hi,
If you want to place the image you can insert

<IMG source="..."></IMG>

into *.php file.

Or you can do it as descibed in this article:

Supertop.php and superbottom.php.
For modifying the search box area please find this code snippet

<SELECT ID="SearchField" NAME="SearchField" SIZE="1"> ...</SELECT>

in ..._list.php file and replace it with

<INPUT type = "Hidden" name="SearchField" value="AnyField"> </INPUT>

.

Then find this code snippet

<SELECT ID="SearchOption" NAME="SearchOption" SIZE="1"> ... </SELECT>

and replace it with

<INPUT type = "Hidden" name="SearchOption" value="Contains"> </INPUT>

.

D
dazza author 2/14/2006

Thanks for that, ill get onto it.
sorry i wasn't clear on the image insert.
I have the option to upload a image and it will appear on the page, but i want to move it from its curent location. i've tried removing the php part calling for the image and inserting it where i want it but it doesnt seem to work.

admin 2/14/2006

Please click right mouse button on your image, choose Properties and copy Address(URL) value. Then remove this field from list page on Choose fields tab and rebuild your pages.

Then insert

<IMG source="..."></IMG>

, where value of source is copied Address(URL).

D
dazza author 2/14/2006

Hmm i dont think that will work because on the different car pages, they use a different car image that was uploaded. The image i upload changes for each page and is uploaded via phprunner script. Also this is on the view page now, not the list page, im sorry for not mentioning these vital things before they slipped my mind, im gonna work on it today to try figure it out.