Loading...
 
Skip to main content

Features / Usability


submission template

For editing a wiki page, is there anyways i could use a form with multiple fields instead of just one edit box. For example The edit page would have a field name, and a text box together with that. Then Age and another text box with that. After saving the page all of this would show in the page such as

Name: John Smith
Age: 24

TOgether with this javascript form validation would be there. I am new to wikis though i have some knowledge of php/mysql and so am finding it hard to integrate these things.thanks for your help.

Keep in mind that a wiki page's content is stored as one string, or else is populated by data that is retrieved from different sources via plugins. I thought first about Tracker being used to store input and then Tracker plugins displaying the content in the wiki page. But since there is only one set of data per wiki page (that is, you'd have to have a unique page for each data set anyway), maybe it'd be best to just store the page content as one data item in the normal way.

The trick, then, would be to make a tiki-editpage variant that would have several input boxes and, when submitted, the information would be stored along with the page formatting (in wiki syntax) for laying out the page when displayed.

This would be like using a content template except that instead of the template being pasted into the editing textarea and the new information inserted in appropriate places, the content template syntax would be out of sight but combined with the new information when the form is submitted/page is saved.

-- Gary - zukakakina.comQuestion

> Keep in mind that a wiki page's content is stored as one string, or else is populated by data that is retrieved from different sources via plugins. I thought first about Tracker being used to store input and then Tracker plugins displaying the content in the wiki page. But since there is only one set of data per wiki page (that is, you'd have to have a unique page for each data set anyway), maybe it'd be best to just store the page content as one data item in the normal way.
>
> The trick, then, would be to make a tiki-editpage variant that would have several input boxes and, when submitted, the information would be stored along with the page formatting (in wiki syntax) for laying out the page when displayed.
>
> This would be like using a content template except that instead of the template being pasted into the editing textarea and the new information inserted in appropriate places, the content template syntax would be out of sight but combined with the new information when the form is submitted/page is saved.
>
> — Gary - zukakakina.comQuestion

Thanks for helping. I tried using a tracker and was pretty satisfied as it allowed me to create a form. However i am having problems when i tried to use the upload picture or file feature in the both the wiki and trackers. In the trackers when trying to upload an image for a tracker item i get a blank page. For the wiki i get an error message stating could not write to file. I use my windows machine for testing so there is no question of it having to do with permission rights. Lastly, Is there any way to make a new addition to the tracker having to be approved before it is displayed on the site?

Sorry but i need to ask what is tracker? where can i get info about it..as i am also trying to develop a kind of template (form) for retrieving an XML file as well as using the form to input/save information.

thanks

~abtet~

> http://doc.tikiwiki.org/TrackersQuestion
>
> — Gary

Hi Gary,
Can i actually name a form (kind of content template) which can be used to store data into a database(as well as retrieving data) as plugins? i am actually still studying & trying to understand what is plugins. sorry for my question but i really need to understand it.
and if i need to create a database (of course this is needed in my case)for storing the data, how would i integrate it with tiki?
the data that i am retrieving from is actually an XML file. Can tiki work with XML?
thank you very much for your help.

~abtet~