[pmwiki-users] foxedit doesn't save page
Martin Kerz
mkerz at me.com
Mon Mar 8 15:51:21 CST 2010
Dear Hans,
> Check the edit form you use, the one the foxedit link calls.
> It may be a default form.
It is a slightly modified default form (FoxTemplates/EditSectionForm):
---- 8< ----
(:foxmessages:)
(:if foxpreview:)
!!!$[Preview]: %green%[-– $[Changes have not been saved] –-]
>>frame<<
(:foxdisplay:)
>><<
(:if:)
(:fox editform foxaction=replace put=overwrite target={$EditTarget}#{$EditSection} redirect={$EditTarget}#{$EditSection}:)
(:foxtemplate "{$$text}":)(:input default request=1:)
(:input hidden csum 'Section {$EditSection} edited':)
!!!{$EditTarget} wird bearbeitet
|| ||(:guibuttons:)||
|| ||(:input textarea id=text name=text style='width:80%' cols=60 rows=12 class=inputtext:) ||
(:input hidden access {$Accesscode}:)(:input hidden accesscode {$AccessCode}:)
|| ||Bearbeiterin: (:input text author value='{$Author}' size=30 class=inputtext:) (:input submit post $[Save]:) (:input submit cancel $[Cancel]:) ||
(:foxend editform:)
(:include $[{$SiteGroup}/EditQuickReference]:)
(:if foxpreview:)
%green center%[+– $[Changes have not been saved] –+]
---- 8< ----
> Disable any redirect and add a
> (:foxmessages:) directive. Maybe it gives you an error message.
(:foxmessages:) doesn't give me any output. I already tried it without the "redirect={$EditTarget}#{$EditSection}" but it didn't work either. Whenever I click on "Save", it just reloads the page and does not commit any changes. :-/
Do you have any further tipps what I could do?
Thanks in advance.
Martin
More information about the pmwiki-users
mailing list