View custom pages from list from view page |
4/8/2008 2:31:08 PM |
PHPRunner General questions | |
S
swanside author
WHen I open my project, I have the master page, with a view link that takes me to the details for that page. |
|
A
|
alang 4/8/2008 |
I would use a custom field for this eg: |
S
|
swanside author 4/9/2008 |
I would use a custom field for this eg: $value="<a href=http://localhost/Leymac/Full_Invoice_list.php?mastertable=job&masterkey1=".$data["yourfieldname"].">Full Inv</a>";
|
A
|
alang 4/9/2008 |
You can check details of the custom field link when you move your mouse over it - in IE, the generated URL displays in the status bar. Make sure the $data variable is getting picked up correctly. ie |
S
|
swanside author 4/14/2008 |
You can check details of the custom field link when you move your mouse over it - in IE, the generated URL displays in the status bar. Make sure the $data variable is getting picked up correctly. ie http://localhost/Leymac/Full_Invoice_list....terkey1=1000000
|
S
|
swanside author 4/14/2008 |
Na, |
A
|
alang 4/14/2008 |
Can you post the line of code you are using Paul. |
S
|
swanside author 4/15/2008 |
Hi Alan. |
A
|
alang 4/15/2008 |
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=28035&image=1&table=forumreplies' class='bbc_emoticon' alt=':huh:' /> Paul you lost me along the way somewhere - I thought we were talking about setting up a custom field as per my first suggestion? I generally try and avoid customising the visual editor code as much as possible - you loose everything when you reset the page. However just from a brief look at your statement, I would have thought that you would need to specify a "row.1<yourfieldname>_values" in there somewhere to pick up the particular job you want to look at. |
S
|
swanside author 4/16/2008 |
Thanks Alan. |