kentico_ondrejv
-
3/20/2009 6:48:42 AM
RE:Error in Wiki page
Hello,
Unfortunately, it's a bug in current version. We are sorry for inconvenience. There is missing decision statement in User contribution webparts. Anyway we have a workaround for this. Please go through following instructions:
1. Please open 'CMSWebParts/UserContributions/ContributionList.ascx.cs' and 'CMSWebParts/UserContributions/EditContribution.ascx.cs' files.
2. Please locate CMSForm_OnAfterSave() method:
void CMSForm_OnAfterSave() { // Reload data after saving the document this.PagePlaceholder.ClearCache(); this.PagePlaceholder.ReloadData(); }
and change it following way:
void CMSForm_OnAfterSave() { if (!this.StandAlone) { // Reload data after saving the document this.PagePlaceholder.ClearCache(); this.PagePlaceholder.ReloadData(); } }
3. You can do the same with 'CMSWebParts/Community/GroupContributionList.ascx.cs' and 'CMSWebParts/Community/GroupEditContribution.ascx.cs' files.
Best regards Ondrej Vasil
|