This topic is locked

Hyperlink Field Values

11/11/2006 3:54:54 PM
PHPRunner General questions
G
gdude66 author

I think this has been covered but can't find it.

If I have a list of events with the names of staff and students and other fileds - how can I display the fields so that student has a clickable hyperlink that returns page student_view.php ans staff is a hyperlink that on click returns staffcontacts_view.php (which is a return from an already created table view in phpr).

The return would have to be that specific link (which is an id number from that table).

Alexey admin 11/13/2006

Graeme,
here is the hyperlink code you can put to the List page in Visual Editor.

<a href ="student_view.php?editid1={$row.1StudentID_value}">...</a>

where StudentID is your student's ID field.

G
gdude66 author 11/13/2006

Graeme,

here is the hyperlink code you can put to the List page in Visual Editor.
where StudentID is your student's ID field.



This is not working in 3.0 returns the following error after pasting in url prefix of view format

Parse error: syntax error, unexpected T_STRING in c:\Inetpub\wwwroot\incident\include\dbcommon.php on line 562

Disappears after I remove the hyperlink

Alexey admin 11/14/2006

Graeme,
this workaround is for version 3.1
In PHPRunner 3.0 you need to modify looprs function in generated ..._list.php file.

Unfortunatelly we don't have a ready to go solution for this.

G
gdude66 author 11/14/2006

Graeme,

this workaround is for version 3.1
In PHPRunner 3.0 you need to modify looprs function in generated ..._list.php file.

Unfortunatelly we don't have a ready to go solution for this.



Sorry to be a pain on this - is there anything I can add in? What would it look like?

G
gdude66 author 11/18/2006

Graeme,

here is the hyperlink code you can put to the List page in Visual Editor.
where StudentID is your student's ID field.



After moving to 3.1 I tried this code in the hyperlink field of the list page and get

...firstname surname" target=_blank>firstname surname

and on the hyperlink I get %3Ca%20href%20= as the hyperlink
Now the field is an inner join field where I have concatenated the name as a display

G
gdude66 author 11/21/2006



After moving to 3.1 I tried this code in the hyperlink field of the list page and get

...firstname surname" target=_blank>firstname surname

and on the hyperlink I get %3Ca%20href%20= as the hyperlink
Now the field is an inner join field where I have concatenated the name as a display



bump

J
Jane 11/21/2006

Graeme,
could you give me detailed description of what you're doing or show me some screenshots?

You can send it to [email=support@xlinesoft.com]support@xlinesoft.com[/email].