The Wiki module - Can this be done?
Posted: 17 June 2008 08:47 PM   [ Ignore ]  
Summer Student
Total Posts:  14
Joined  06-16-2008

Folks:

I’d like to create a wiki-like directory with a very specific requirement: When creating a new page, the user must enter information in a form. Something like this:

http://vinismo.com/en/Special:Form/Wine

This example is run off of MediaWiki with a special add-on. MediaWiki seems like overkill for what I’d like to do. Can the EE wiki module be tweaked so that a form can be used to build wiki pages? Or can the pages module be customized to do this?

I’m considering EE because this site will also have blog and a few other widgets and I’d rather not try to integrate into a standalone wiki.

Profile
 
 
Posted: 18 June 2008 12:15 AM   [ Ignore ]   [ # 1 ]  
Grad Student
Rank
Total Posts:  37
Joined  09-21-2007

Hi porthos,

Yes, this can be done.  The functionality is not built-in as far as I know, but if you’re familiar with PHP, there’s a number of hooks that you can develop an extension to take advantage of.

If you’re comfortable allowing your visitors to access the ExpressionEngine control panel, it would also be trivial to set up a weblog with fields matching the ones in your MediaWiki special page.  However, this would be set up separately from the wiki module.

Profile
 
 
Posted: 18 June 2008 09:10 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  14
Joined  06-16-2008

Thanks Jesse.

I have fooled around quite a bit with actionscript but I’m not much for PHP. Time to learn, I suppose. Just to be sure that I’m not barking up the wrong tree, the extension would do the following:

The user clicks a button to add a new page to the wiki.
A page with a form appears.
The user completes the required fields.
The user clicks a submit button.
The wiki page is created. The page name is based on whatever the user entered in one of the form fields.

Possible, correct?

Thanks again.

Profile
 
 
Posted: 18 June 2008 09:46 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  147
Joined  06-19-2005

Hi Summer Student,

You don’t need to do that with the Wiki module. As Jesse B. said you might better use an ee weblog for that.
Instead of giving users control panel access to fill in the requested fields you can also use a fully customisable Stand-Alone Entry Form (SAEF). That might do the job easier and better. As far as I know, you won’t need nor actionscript neither PHP to set up the SAEF.
wink

Profile
 
 
Posted: 18 June 2008 10:49 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  37
Joined  09-21-2007

From your site, it looks like the form is just an interface to creating a skeleton wiki page.  If that’s the case, and you require others to be able to edit the page, a SAEF won’t work for you because it doesn’t allow editing existing wines, only adding new ones.

I have not actually tried it, but I believe a wiki extension will be capable of performing the task you’re attempting.

Good luck!

Profile
 
 
Posted: 18 June 2008 12:42 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  14
Joined  06-16-2008

Thanks qlas and Jesse B.

Jesse: You answered my next question which was if a SAEF would create a page that could be editable by anyone. Apparently not but I’ve got EE Core running locally and I’ll see how things go. I’ve used WordPress and Textpattern extensively and this will be a chance to add another CMS to the portfolio. If all goes well, I’ll spring for the $10 trial and see what the wiki can do.

Thanks again folks.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 62686 Total Logged-in Users: 49
Total Topics: 77251 Total Anonymous Users: 36
Total Replies: 417019 Total Guests: 273
Total Posts: 494270    
Members ( View Memberlist )