| ||
![]() |
How to Refresh "sitetree.xml" from the file system | |
|
This adds any missing documents in Lenya 1.2's file system document storage to the sitetree.xml in the appropriate "area".
InstallationDownload sitetree2.zip Unzip in {pub}/modules to create {pub}/modules/sitetree2 directory with 11 files (including this README.) If using Lenya 1.2, move "usecase-sitetree2.xmap" to the {pub} directory. Usage(Lenya 1.2) Add a querystring to any URL in the publication: ?lenya.usecase=sitetree2&area=live ?lenya.usecase=sitetree2&area=authoring (Lenya 1.3) http://{server}/{pub}/sitetree2/live http://{server}/{pub}/sitetree2/authoring Requesting the URL will display the corrected sitetree.xml. It saves the corrected file as "sitetreefixed2.xml" in the appropriate directory: {pub}/content/live/sitetreefixed2.xml {pub}/content/authoring/sitetreefixed2.xml Rename the appropriate file to "sitetree.xml" (after renaming the original file as a backup.) Clear the cache to refresh all navigation.
|