Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  report extension question...

phpMyEdit General     report extension question...
Odoslať novú tému   Odpovedať na tému    
 
morez     Založený: 10.11.2003   Príspevky: 10  
Príspevok Zaslal: 2003-11-21 16:46
Návrat hore  Odpovedať s citátom     

I am trying to make it work but I can't,
not sure I understood exactly how to configure it,
(and even what it does),

anyone knows ?

 
d-rap     Založený: 26.05.2003   Príspevky: 2  
Príspevok Zaslal: 2003-11-22 20:55
Návrat hore  Odpovedať s citátom     

Load the last CVS version and in your generated report, don't forget this TWO lines to the end :

@require_once('extensions/phpMyEdit-report.class.php');
@new phpMyEdit_report($opts);

and comment this TWO lines :

//@require_once('phpMyEdit.class.php');
//@new phpMyEdit($opts);

Now, it must work fine ;o)))

 
morez     Založený: 10.11.2003   Príspevky: 10  
Príspevok Zaslal: 2003-11-22 22:14
Návrat hore  Odpovedať s citátom     

Thanks.
So there is no need to pass the 'fields_select' variable to make it work ?
And by the way,
did I really understand what this class does ?
I thought it could help me to export a table to a text file. Am I right ?
Is there any thread or example out there to help understand the purpose and the settings of this class ?
Thanks a lot.

 
d-rap     Založený: 26.05.2003   Príspevky: 2  
Príspevok Zaslal: 2003-11-24 10:09
Návrat hore  Odpovedať s citátom     

morez Napísal:
Thanks.
>So there is no need to pass the 'fields_select' >variable to make it work ?
No, this option is hardcoded in the last cvs version
>And by the way,
>did I really understand what this class does ?
>I thought it could help me to export a table to a >text file. Am I right ?
No, this class permit you to select fields displayed, and query records, like a simplist report builder.
>Is there any thread or example out there to help >understand the purpose and the settings of this >class ?
not to my knowledge, but try it on a table where description fields existe in other table like this :
$fdd['mytable']['values']['table'] = 'other_table';
$fdd['mytable']['values']['column'] = 'id_table';
$fdd['mytable']['values']['description']= 'desc_column';
>Thanks a lot.


 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov