Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Ghost column

phpMyEdit General     Ghost column
Post new topic   Reply to topic    
 
fffonck     Joined: 02 Nov 2008   Posts: 9  
Post 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  
Post 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  
Post 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  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy