Loading...
 
Features / Usability

Features / Usability


How put a form and see the results in the tikiwiki page?

posts: 21 Brazil

People,

I have little aplications that use a mysql database and I would like to put a little form in a tikiwiki page, send the information to a php page and receive the results in the wiki

Is possible? Anybody can help me?

Regards from Brazil
Paulino

posts: 39

Hi pmichelazzo,

yes its possible. If you want any extrapage in tikiwiki. you need to add 3 files to tikiwiki.

lets say ur form is feedback form name of the files that u create shold be.

tiki-feedback-form.tpl-->this file contains your html form. the action parameter should be respective tiki-feedback-form.php. path of the file should be /templates/

step -2:create a tiki-feedback-form.php and capture all form data here and send it to a library file(lets say feedbackformdata.php in /lib directory) through your database logic which is written in feedbackformdata.php.

step3: create a feedbackformdata.php in library to handle your database functionality(ex:insertion,deletion of your data)

if you want to see any result call respective .php file..

let me know any feedbacks,
sharma

posts: 21 Brazil

Hi sharma,

Few problems to understand the process ;)

> phpsharma:
> Hi pmichelazzo,
>
> yes its possible. If you want any extrapage in tikiwiki. you need to add 3 files to tikiwiki.
>
> lets say ur form is feedback form name of the files that u create shold be.
>
> tiki-feedback-form.tpl-->this file contains your html form. the action parameter should be respective tiki-feedback-form.php. path of the file should be /templates/

Ok, I create the file and put in the templates directory
>
> step -2:create a tiki-feedback-form.php and capture all form data here and send it to a library file(lets say feedbackformdata.php in /lib directory) through your database logic which is written in feedbackformdata.php.
>
Hummm, I can't find the feedbackformdata.php. Is this only an example ?

> step3: create a feedbackformdata.php in library to handle your database functionality(ex:insertion,deletion of your data)
>
> if you want to see any result call respective .php file..

But how i call the form?
>
> let me know any feedbacks,

Help please ;)

> sharma


posts: 21 Brazil

Hi sharma,

Few problems to understand the process ;)

> phpsharma:
> Hi pmichelazzo,
>
> yes its possible. If you want any extrapage in tikiwiki. you need to add 3 files to tikiwiki.
>
> lets say ur form is feedback form name of the files that u create shold be.
>
> tiki-feedback-form.tpl-->this file contains your html form. the action parameter should be respective tiki-feedback-form.php. path of the file should be /templates/

Ok, I create the file and put in the templates directory
>
> step -2:create a tiki-feedback-form.php and capture all form data here and send it to a library file(lets say feedbackformdata.php in /lib directory) through your database logic which is written in feedbackformdata.php.
>
Hummm, I can't find the feedbackformdata.php. Is this only an example ?

> step3: create a feedbackformdata.php in library to handle your database functionality(ex:insertion,deletion of your data)
>
> if you want to see any result call respective .php file..

But how i call the form?
>
> let me know any feedbacks,

Help please ;)

> sharma


posts: 39

what are those few problems. we will try?

nothing is impossible,

sharma


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting