[SOLVED] Â iframe on list page / iframe src= dependent on latitude and longitude fields in table_list page records |
6/8/2016 5:59:43 PM |
PHPRunner General questions | |
Y
YCH author
I have a list page with multpile records and each record having a keyid and latitude and longitude field and some place for a i-frame. |
|
![]() |
Sergey Kornilov admin 6/8/2016 |
I guess you are looking to use 'View as' Custom type for one of fields. In your code you can build HTML code for this iframe: $value = '<IFRAME SRC="http://www.somedomain.com/map="'.$data["latitudefiledvalue"].", ".$data["longitudefieldvalue"].'" WIDTH="400" HEIGHT="300"></IFRAME>'; |
Y
|
YCH author 6/8/2016 |
I guess you are looking to use 'View as' Custom type for one of fields. In your code you can build HTML code for this iframe: $value = '<IFRAME SRC="http://www.somedomain.com/map="'.$data["latitudefiledvalue"].", ".$data["longitudefieldvalue"].'" WIDTH="400" HEIGHT="300"></IFRAME>';
|