| Index
» Projects
» phpMyEdit
» Forum
» Ghost column |
 |
fffonck
Joined: 02 Nov 2008
Posts: 9
Posted: 2008-11-28 17:40
Back to top
Reply with quote
|
Hello
I want to have a special column which is not in the DB table. (I want to render a http link).
$opts['fdd']['special'] = array(
'name' => 'lien',
'options' => 'V',
'URL' => (http://dsdsd),
'URLdisp' => 'go',
'tab' => 'ext.'
);
if special is not a field of the DB, PME has an error.
Can i do that ? (a "pseudo" or "ghost" column in fact)
Thanks
|
fffonck
Joined: 02 Nov 2008
Posts: 9
Posted: 2008-11-28 18:00
Back to top
Reply with quote
|
i've tried with 'virtual' feature :
$opts['fdd']['virtual'] ...
but i've got :
"Unknown column 'PMEtable0.virtual' in 'field list'"
:'
|
fffonck
Joined: 02 Nov 2008
Posts: 9
Posted: 2008-11-30 18:36
Back to top
Reply with quote
|
Thanks a lot Doug,
i have made some little modifications and it's works !
You can try this too :
| Code: |
$opts['fdd']['dummy2'] = array (
'input' => 'R', // READ ONLY MODE
'name' => 'Test', // COLUMN NAME
'sql' => '"Go to Google"', // LINK NAME
'URL' => 'http://www.google.com', // LINK
'options' => 'V', // VIEW MODE ONLY
'escape' => false,
'sort' => true
); |
|
matthewra
Joined: 20 Apr 2009
Posts: 1
Posted: 2009-04-20 18:46
Back to top
Reply with quote
|
Is there a way to fill dummy filed with data from the table
- I want to show key values of every tab... thought I could make dummy fields on each tab and fill with record key fields...
|
|
Post new topic
Reply to topic
|
|
|
|