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

phpMyEdit Configuration     Making a searchable list
Odoslať novú tému   Odpovedať na tému    
 
houghi     Založený: 18.04.2008   Príspevky: 11  
Príspevok Zaslal: 2008-04-22 22:08
Návrat hore  Odpovedať s citátom     

This is not a question, but just a comment on how I do things.
Sometimes you do not want the buttons visible. For me this is because I want to have a list that is searchable.

What I have done is the following change in phpMyEdit.class.php
Kód:
//      Comenting out the follwoing lines disables the default view of the
//      if (! $this->nav_up() && ! $this->nav_down()) {
//         $this->navigation .= 'D'; // down position is default
//      }


Then in the table created by PME, I only have the Filter option for the user:
Kód:
$opts['options'] = 'F'

This is more a security then anything else. That way people can not do something I wuld not expect them to do.

Also I do not select any button position:
Kód:
$opts['navigation'] = 'G';



If I so desire, I can still enable the buttons on other pages. Understand that you will NOT see next and previous page. I am just looking how to get the search mode as dedault.

 
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