Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Trigger position

phpMyEdit Features     Trigger position
Post new topic   Reply to topic    
 
zucarino     Joined: 29 Dec 2005   Posts: 44   Location: Rio de Janeiro - Brazil
Post 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
Post 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
Post 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
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy