Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-10) was last changed on 29-Apr-2008 20:06 by HarryMetske  

This page was created on 02-Apr-2003 15:45 by JohnVolkar

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 2 changed one line
--------------------------------------------------------------------------------
At line 5 changed one line
There is a solution to this it involved some very minor mods to the {{~EditTemplate.jsp:}}
There is a solution to this it involved some very minor mods to the {{~EditContent.jsp}} (''depends on wiki version and template being used actualyl'')
At line 13 changed one line
The way this patch works is a bit cheesey but we've been using it for over a week now and have had no ill effects. Basically what this patch does is submit the form contents, immediatly go back one step in history then the server response takes you to the page that the edit-submit was for. viola, magic! (''but timing sensitive maybe?'') One caveat is that you can still navigate __forward__ in you history into the edit window, but I'm willing to live with that as I do not know the keyboard shortcut for navigating forward.
The way this patch works is a bit cheesey but JohnV's been using it for almost a year now on a slightly modded [MRG Template] and have had no ill effects. Basically what this patch does is submit the form contents, immediatly goes back one step in history then the server response takes you to the page that the edit-submit was for. viola, magic! (''but timing sensitive maybe?'') One caveat is that you can still navigate __forward__ in your history into the edit window, but I'm willing to live with that as I do not know the keyboard shortcut for navigating forward.
At line 15 changed one line
Thoughts anyone? This seemes to work nicely for us, but I've not tried it with various browsers. (Though I'm told that the {{.go(-1)}} bit works fine under Netscape and the rest is very basic javascript.) In a way I'd like to see it get more testing and maybe get incorporated into the "mrg" template 'cause I'm lazy and don't like to have to remember what patches I need to do with every upgrade.
This seemes to work nicely for us; everyone here uses IE, I use Opera occasionally, but it's not really been tested on anyhting besides those. The {{.go(-1)}} bit works fine under Netscape according to google and the rest is very basic javascript.
At line 17 added one line
I'm not sure why this shouldn't be made part of the [default template], as it is just so darn useful at keeping novices from getting confused with old edits in thier browser history.
At line 21 added 6 lines
----
CategoryPatches
----
An alternate solution to this may simply be to disable page caching. This would force every page view to reload from the server. If you don't have a high load then you can afford the server work. This will ensure that a user's browser view always coresponds with the data model inside the wiki.
Version Date Modified Size Author Changes ... Change note
10 29-Apr-2008 20:06 2.506 kB HarryMetske to previous removed dirt
9 29-Apr-2008 14:05 2.553 kB Alex-Koziy to previous | to last Comment by Alex-Koziy
8 13-Mar-2008 07:31 2.506 kB 216.58.96.134 to previous | to last
7 10-Oct-2007 17:06 2.204 kB JanneJalkanen to previous | to last
6 10-Oct-2007 10:02 2.212 kB 201.12.178.33 to previous | to last
5 23-Oct-2004 11:55 2.204 kB FosterSchucker to previous | to last
4 23-Oct-2004 11:08 15.416 kB 60.25.120.7 to previous | to last
3 24-Aug-2004 21:36 2.204 kB JohnVolkar to previous | to last
2 02-Apr-2003 15:46 2.144 kB JohnVolkar to previous | to last
1 02-Apr-2003 15:45 2.121 kB JohnVolkar to last
« This page (revision-10) was last changed on 29-Apr-2008 20:06 by HarryMetske