Forum Moderators: coopster

Message Too Old, No Replies

PHP Based Wiki

That can be plugged into an existing template?

         

physics

10:01 pm on Jan 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm looking for a wiki that can be plugged into an existing page. Like if I have a web site with pages a.php, b.php, c.php that are already designed and I just want to drop a snippet in the page somewhere so people can edit/change that area. Also PDF and image uploads would be good... Anyone know of a wiki that does this or that can be hacked to do this?
Some people have suggested doing this with WordPress ... i.e. installing word press then grabbing the part of the PHP code that displays the blog post and plugging it into page a.php at the appropriate place. Anyone tried that?

ergophobe

7:57 pm on Jan 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Well given the underwhelming response...

You say you're looking for a wiki, but it sounds like you want something a lot more limited, unless I'm not understanding. In other words, it doesn't sound like you want users to be able to create new pages and build a complex site, but simply to be able to edit the content on existing pages (without access to the navigation and other template elements).

Is that correct? In a similar case, what I've done is the set up the site so that the page content is an include (could be from the DB) and there is either
- an "edit this page" link that shows if someone is logged in with adequate privs
- a click on the this paragraph capability that converts a paragraph to an edited text box if the person has adequate privs.

Basically, then you just create a form with your choice of textarea, RTE (like TinyMCE, spaw or something like that), or some sort of BB-style edit area. Several of those have image upload built in.

Not sure what you're doing for the PDFs, but the site I'm thinking of has a monthly newsletter that the editor uploads. I just have another upload form that forces the editor to put in the title, date, volume number and highlights of the PDF so that I can create a unique filename, clickable link and teaser summary. It is not integrated into a page with HTML, though, the newsletter listings are all auto-generated.

physics

11:50 pm on Jan 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for the response. Yes I'm looking for something more limited than a wiki or at least a wiki that's easy to integrate into an existing template. I have a client that likes their current design fine but wants to be able to edit the page. Maybe an include with an editable form is the best way to go... Was just hoping there was something out there that could be integrated easily into the page already.

StupidScript

12:56 am on Jan 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are a few widgets available that might do the trick. I used to see HTMLArea around, but it's apparently been discontinued. Their site [htmlarea.com] still has several WYSIWYG editing widgets and programs available, however. HTMLArea was free, but the list on their site includes both free and $$$$YOIKS! versions of other products.

ergophobe

1:43 am on Jan 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



TinyMCE, FCKEditor, Spaw and a few others have pretty much taken over for the new defunct HTMLArea (and truth be told, at least TinyMCE and Spaw are much more reliable.

Then it's a simple matter of making the form write to a file.