Loading...
 
Features / Usability

Features / Usability


Blogs have SAVE and SAVE & EXIT, how to get the same for wikipages?

posts: 24

The subject says it all. The blogs have two buttons, save (saves the contents to the db but allows you to continue editing) and save & exit (saves the contents to the db and returns you to the blog). I would like to have this very same feature working for wikipages. They can get rather long, it would be a shame to lose everything I have just typed due to a crash of some sort. The save button for wikipages currently behaves like the save & exit button from the blogs.

Does anyone know how to implement the save button in the correct way? I could probably force it by manually hacking my way through in PHP but it would be cleaner to do it the TikiWiki way.

posts: 2881 United Kingdom

I actually think the Save and Save and Exit was created as a fault in the bloglib not being able to do a preview.

The idea behind save in blogs was for importing or uploading a picture.

Hack away. All I guess you would need to change is the location in tiki-editpage.php that redirects to the tiki-index.php of the edited page.

Why not join the Tiki Team with a CVS account on SourceForge and commit your modification into our CVS directly cool

Damian


posts: 24

Well Damian, when I say "hack" I really mean hack biggrin
My modifications are dirty and always have been... because my mods are for my eyes only I don't go to any length to do it 'correctly' you know, what works works. And because of all the dirty work, what works for me doesn't necessarily work anymore with the standard package... Everytime I start out with a new OSS project, I have only good intentions. But they always get corrupted as fast as the code twisted
I'm currently working on the invention of virtual ducktape.

But hmmm... there's a lot of code on this page! I guess it's time to get my tools out.



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