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  »  TABS configuration

phpMyEdit Configuration     TABS configuration
Odoslať novú tému   Odpovedať na tému    
 
cbek     Založený: 25.10.2008   Príspevky: 27  
Príspevok Zaslal: 2008-10-26 17:12
Návrat hore  Odpovedať s citátom     

Dear All,

I am begining with PME (which is a VERY GOOD tool !) and I have an issue with the TABS:

- I'd like to have the Tabs only before the table (in A & C mode) witout the buttons
- I'd like to have the buttons after the table (in A & C mode) without the tabs

Do you think it is possible?

Thanks,
Cyril.


Naposledy upravil cbek dňa 2008-10-29 18:57, celkom upravené 2 krát

 
cbek     Založený: 25.10.2008   Príspevky: 27  
Príspevok Zaslal: 2008-10-27 13:51
Návrat hore  Odpovedať s citátom     

Citácia:
- I'd like to have the Tabs only before the table (in A & C mode) witout the buttons

I found the answer for this part :
Kód:
//The tabs are displayed but not the buttons!
$opts['buttons']['C']['up'] = array('');


Do you have an idea for the second part?

Thanks,
Cyril.

 
Anderson     Založený: 05.03.2009   Príspevky: 2  
Príspevok Zaslal: 2009-03-13 20:57
Návrat hore  Odpovedať s citátom     

Hello Cyril,

Better later then never. :)

I did the trick using css to hide the tabs displayed after the table.

add this to your stylesheet:
Kód:
td.pme-tab-end, #PME_dhtml_tab1_down_label, #PME_dhtml_tab2_down_label, #PME_dhtml_tab3_down_label { display:none; }


You may want to repeat #PME_dhtml_tab1_down_label replacing the digit 1 to match the number of tabs you have. In my case it was just 3.

Then set the navigation and buttons options at your pme conf file like this ones:
Kód:
$opts['navigation'] = 'DUBG';

$opts['buttons']['L']['up'] = array('');
$opts['buttons']['F']['up'] = array('');
$opts['buttons']['A']['up'] = array('');
$opts['buttons']['C']['up'] = array('');
$opts['buttons']['P']['up'] = array('');
$opts['buttons']['V']['up'] = array('');
$opts['buttons']['D']['up'] = array('');


cbek Napísal:
Citácia:
- I'd like to have the Tabs only before the table (in A & C mode) witout the buttons

I found the answer for this part :
Kód:
//The tabs are displayed but not the buttons!
$opts['buttons']['C']['up'] = array('');


Do you have an idea for the second part?

Thanks,
Cyril.


 
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