| Index
» Projekty
» phpMyEdit
» Fórum
» Trigger position |
 |
zucarino
Založený: 29.12.2005
Príspevky: 44
Bydlisko: Rio de Janeiro - Brazil
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
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
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
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
|
|
|
|