Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Nedeľa, 29. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Exlucde field from filters/search

phpMyEdit Configuration     Exlucde field from filters/search
Odoslať novú tému   Odpovedať na tému    
 
mbinder     Založený: 25.09.2008   Príspevky: 3  
Príspevok Zaslal: 2008-09-25 14:53
Návrat hore  Odpovedať s citátom     

somehow this is not working - i got this code:

$opts['fdd']['shop'] = array(
// 'colattrs|LF' => '',
'default' => '',
'help|ACP' => '',
'input' => '',
'maxlen' => 255,
'name|ACP' => 'Shop  http://',
'name|VDFL' => 'Shop',
'options' => 'ACPVDL' ,
'select' => 'T',
'size|ACP' => 80,
'sqlw' => 'TRIM("$val_as")',
'sort' => true
);
// MySQL column 2: string - varchar(255)
$opts['fdd']['shop']['js']['required'] = false;
$opts['fdd']['shop']['URL'] = 'http://$value';
$opts['fdd']['shop']['URLtarget'] = '_blank';

please see options (bold) list view available but not in filter view, but i do not want to show up in filter view that is why F is ommitted. however it is shown when i filter and filtering is working....

what do i do wrong?

thanks 4 good answers


Naposledy upravil mbinder dňa 2008-09-29 18:21, celkom upravené 1 krát

 
mbinder     Založený: 25.09.2008   Príspevky: 3  
Príspevok Zaslal: 2008-09-29 18:23
Návrat hore  Odpovedať s citátom     

doug Napísal:
Try adding F to ACPVDL


please see above i was not clear about my request..i do not want to show it up in filter view....

 
JammerPro     Založený: 07.12.2006   Príspevky: 33  
Príspevok Zaslal: 2009-10-03 16:50
Návrat hore  Odpovedať s citátom     

I have the same problem...

I want the column to show up on list view, but not filter view...

I omitted the F, but left the L, but the filter view is still shown...

Funny, if you do it the other way around (omit the L and add the F), the column will not show on list view, but will show on filter view...

So, how do you just show the column in List View, but not Filter View?

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2009-10-03 16:56
Návrat hore  Odpovedať s citátom     

Not sure I understand the problem, but try changing that column's
Kód:
'select' => 'T'
property to
Kód:
'select' => ''
in order to suppress display of the HTML INPUT field in List mode.

 
JammerPro     Založený: 07.12.2006   Príspevky: 33  
Príspevok Zaslal: 2009-10-03 19:33
Návrat hore  Odpovedať s citátom     

doug Napísal:
Not sure I understand the problem, but try changing that column's
Kód:
'select' => 'T'
property to
Kód:
'select' => ''
in order to suppress display of the HTML INPUT field in List mode.


Hi Doug, Thanks for trying to help.

Let me make the problem clearer...

I want the column "name" to appear in the list view, but not the filter view. I have phpMyEdit form file named names.php. The options I entered were: 'options' => 'LACPVD', (note, there is no "F"). If you force list view by entering http://names.php?PME_sys_fl=0, you will see the column name with data...

Now, let's go one step further. Although I want to see the column "name" in list view, as aforesaid, I DO NOT want the column to appear in the filters view (http://names.php?PME_sys_fl=0). That's why the options above DO NOT contain the "F".

Notwithstanding, even though the "F" was NOT entered in the options, the column "name" still appears in the filters view if L is an option...

So, in short, I want to see the column "name" in the list view, but not the filter view. I did not use F as an option, but the column "name" still appears in both the list and filter views.

Hope that clarifies what we are asking.

All the best... EZ

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2009-10-03 21:03
Návrat hore  Odpovedať s citátom     

You would probably need to make a copy of the class file (for use by that form only) and hack the class file in some manner.

 
tom     Založený: 25.11.2009   Príspevky: 1  
Príspevok Zaslal: 2009-11-25 09:07
Návrat hore  Odpovedať s citátom     

hi

In my case I got round this one by using

'options|F' => 'H',

in the field i didn't want to appear in filter but wanted in list.

Cheers
Tom

 
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