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

phpMyEdit Configuration     renaming "Initial TAB"
Odoslať novú tému   Odpovedať na tému    
 
Do you use the tabs feature?
Yes
85%
 85%  [ 6 ]
No
0%
 0%  [ 0 ]
What the heck are tabs???
14%
 14%  [ 1 ]
Celkom hlasov : 7
hlslaughter     Založený: 02.07.2003   Príspevky: 12   Bydlisko: San Diego, CA
Príspevok Zaslal: 2004-09-28 02:54
Návrat hore  Odpovedať s citátom     

I just discovered how to use the tabs feature. very cool. nice if you have a lot of fields and a user may only be modifying a certain "group" of fields.

i see that you set a tab as follows:

Kód:

$opts['fdd']['part_num'] = array(
  'tab'     => 'General Info',
  'name'     => 'Part number',
  'select'   => 'T',
  'size'   => 10,
  'required' => true,
  'sort'     => true
);


and that will result in a tab containing all fields from this first one to the next tab label (exclusive).

but even if your very first field contains a tab label, it will be the second tab displayed, the first being "Intial TAB", which will be empty. "Initial TAB" is hardly very descriptive and likely has nothing to do with your application unless one of your fields happens to be "Initial TAB" :)

is there a way to override this cleanly?

I'd rather not edit
Kód:
$this->tabs[0] = 'Initial TAB';
in phpMyEdit.class.php

 
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