Forums | Mahara Community

Developers /
mahara database.


anonymous profile picture
Account deleted
Posts: 92

12 May 2010, 0:37

hi this is mrunal a php web developer. i added the form in mahara. but i want to add the record in that form record should be saved in the that perticular  form database. how can i do that?

 

Now i am adding the record then record should be saved in artefact table not saved in that perticular form table.

anonymous profile picture
Account deleted
Posts: 10

13 May 2010, 23:56

hi you  create

1. 

a class named

class ArtefactType......... that shoul be  extended by  ArtefactTypeResumeComposite

 

for exmaple

class ArtefactTypeProjects extends ArtefactTypeResumeComposite ()

{......

2.

then add your tpl file to fragment folder

and add that tpl file to index.tpl

3.

create your table with autoioncrement id

this may help u..

Thanks

 

 

2 results