| Index
» Projects
» phpMyEdit
» Forum
» Fixed: custom edit/add form |
 |
kendor
Joined: 02 Jan 2008
Posts: 6
Posted: 2008-02-06 16:18
Back to top
Reply with quote
|
hey there!
now, i've been using phpmyedit for quite a time. awesome and fast. however for one singe table i would like to have a custom add and edit form (which i've already done).
so is it possible somehow to just have the list and filter table and after i hit "add" or "edit" i am redirected to my own edit form?
i was thinking about a trigger - but no idea how to do this. (the only thing i need to know for my own editform is the "id of the entry" and wheter the action is "add" or "edit"!
any help appreciated!
|
kendor
Joined: 02 Jan 2008
Posts: 6
Posted: 2008-02-06 21:56
Back to top
Reply with quote
|
ok, i figured out how to do it... or at least i found a way.
i made an extension for the core class, that overrides the functions:
form_begin, form_end, display_add_record and display_copy_change_delete_record
its working perfectly.
|
elieuw
Joined: 18 Nov 2008
Posts: 3
Posted: 2008-11-18 17:14
Back to top
Reply with quote
|
Hi,
I'm looking for a similar example how to work with custom forms.
Can you post the adjustments you made to the PME core?
With kind regards,
Edgar Lieuw
|
|
Post new topic
Reply to topic
|
|
|
|