| Index
» Projects
» phpMyEdit
» Forum
» Trigger position |
 |
zucarino
Joined: 29 Dec 2005
Posts: 44
Location: Rio de Janeiro - Brazil
Posted: 2007-01-10 18:28
Back to top
Reply with quote
|
Hi all,
Today I use a trigger that show one 'print button' on View pages, like this:
| Code: |
| $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
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2007-01-23 13:43
Back to top
Reply with quote
|
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
Joined: 29 Dec 2005
Posts: 44
Location: Rio de Janeiro - Brazil
Posted: 2007-01-23 14:04
Back to top
Reply with quote
|
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
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2007-01-23 14:14
Back to top
Reply with quote
|
or have a look at 'php' option in cvs.
|
|
Post new topic
Reply to topic
|
|
|
|