This topic is locked

Link on each List line

6/28/2007 4:24:16 PM
PHPRunner General questions
mcz_sepal author

Hello,
Is it possible to replace View link with own code link or set a new link in list page ?

Same as View link on each list grid lines, I would like to put my own link with the "orderID" info.

Let me explain better, using View option I got links in every line on the grid like this

"/output/orders_view.php?editid1=15"

I would like to change with my own code link like this

"orders.php?blablabla=true&oID=1038&action=view"

(where orders.php is another page not in PhpR project)
Thanks

Marcos

J
Jane 6/29/2007

Marcos,
you can do the following:

  • switch to the HTML mode on the Visual Editor tab


  • find this code:

    <A href="orders_view.php?{$row.1editlink}">View</A>


  • and replace it with this one:

    <A href="orders.php?blablabla=true&oID={$row.1OrderID_value}&action=view">View</A>





where OrderID is your actual field name.

mcz_sepal author 6/29/2007

Jane,
That´s amazing !!!
Thank you,

Marcos