xowiki::Package instproc www-change-page-order (public)
<instance of xowiki::Package> www-change-page-order
Defined in /var/www/openacs.org/packages/xowiki/tcl/package-procs.tcl
This web-callable method changes the page order for pages by renumbering and filling gaps. The parameter "clean" is just used for page inserts. This method is typically called via AJAX.
- Testcases:
- No testcase defined.
Source code: ::xowiki::utility change_page_order -from [string trim [:form_parameter from ""]] -to [string trim [:form_parameter to ""]] -clean [string trim [:form_parameter clean ""]] -folder_id [string trim [:form_parameter folder_id:int32 ${:folder_id}]] -package_id ${:id} -publish_status [string trim [:form_parameter publish_status:word "ready|live|expired"]] set :mime_type text/plain return ""XQL Not present: Generic, PostgreSQL, Oracle