| Index
» Projekty
» phpMyEdit
» Fórum
» Fixed: custom edit/add form |
 |
kendor
Založený: 02.01.2008
Príspevky: 6
Zaslal: 2008-02-06 16:18
Návrat hore
Odpovedať s citátom
|
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
Založený: 02.01.2008
Príspevky: 6
Zaslal: 2008-02-06 21:56
Návrat hore
Odpovedať s citátom
|
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
Založený: 18.11.2008
Príspevky: 3
Zaslal: 2008-11-18 17:14
Návrat hore
Odpovedať s citátom
|
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
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|