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

phpMyEdit Features     Trigger position
Odoslať novú tému   Odpovedať na tému    
 
zucarino     Založený: 29.12.2005   Príspevky: 44   Bydlisko: Rio de Janeiro - Brazil
Príspevok Zaslal: 2007-01-10 18:28
Návrat hore  Odpovedať s citátom     

Hi all,

Today I use a trigger that show one 'print button' on View pages, like this:

Kód:
$opts['triggers']['select']['pre'] = 'show_button.inc';


This button always appears at the top of page, before the pme_form.

(The submit calls another pre formatted page with all data, using $PME_sys_rec to get the ID and then another fields).

It is possible to define the trigger position, like Down/Up ($opts['navigation'])? Then messages or any other html/php code called by triggers could be placed at the bottom of page too.

Thanks!

_________________
---
Victor Zucarino
vffzbr at yahoo dot com dot br
 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2007-01-23 13:43
Návrat hore  Odpovedať s citátom     

triggers are not intended to do that (to show buttons). their main reason is to do something invisible.

use a dummy column to link to another page.

 
zucarino     Založený: 29.12.2005   Príspevky: 44   Bydlisko: Rio de Janeiro - Brazil
Príspevok Zaslal: 2007-01-23 14:04
Návrat hore  Odpovedať s citátom     

Hi Michal,

The 'button' is only an example, it could be a text or any other information about. But ok, I can make the link using the $key to get the correct register and then manipulate the data.

Thanks!

_________________
---
Victor Zucarino
vffzbr at yahoo dot com dot br
 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2007-01-23 14:14
Návrat hore  Odpovedať s citátom     

or have a look at 'php' option in cvs.

 
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