canDoNav = 1; pageID = 0; pageIsStartPoint = 0; pageIsPromoted = 0; pageName = "doc.cfm"; pageTitle = ""; // if this is a new page/document [prevents objects like flash/video/audio ] if( structKeyExists(request.params, "dialogDescriptor") and request.params.dialogDescriptor eq "createPage" ) { // this is a page and we know the name (which will get passed in to check if it can be a startPoint) if( structKeyExists(request.params, "name")) pageName = "#request.params.name#.cfm"; pageTitle = "#request.params.title#"; // note the pageID will be retrieved from the hidden field "savePageID" via JS subsiteID = request.subsite.ID; } // if this is a page that already exists [page prop on page/doc/external] else if( structKeyExists(request.params, "pageID") and request.params.pageID gt 2 ) { // retrieve this pages standard metadata pageMetadata = application.ohsuNav.csData.getStandardMetadata(request.params.pageID); pageName = pageMetadata.fileName; // use form parameters unless they don't exist if( structKeyExists(request.params, "title") and len(request.params.title) ) pageTitle = request.params.title; else pageTitle = pageMetadata.title; pageID = request.params.pageID; pageIsStartPoint = application.ohsuNav.navElementService.isStartPoint(pageID); pageIsPromoted = application.ohsuNav.navElementService.isPromotedToParent(pageID); subsiteID = pageMetadata.subsiteID; } // otherwise no nav else canDoNav = 0; // the param structure which will hold all of the fields from the props dialog xparams = parameters[fieldQuery.inputID]; application.ohsuNav.scripts.loadJQuery(); application.ohsuNav.scripts.loadJQueryUI(); subsiteLinks = application.ohsuNav.navElementService.getSubsiteLinks(subsiteID);

#request.subsiteCache[request.subsiteCache[subsiteID].parentID].menuName# Links(in order)

No navigation exists for this subsite or parent

--->



#request.subsite.menuName# Links (in order)

#request.subsiteCache[request.subsiteCache[subsiteID].parentID].menuName# Links(in order)

No navigation exists for this subsite or parent