Thomas, Regarding the second point, breadcrumb trails: Every page and section object has a parentObjectID property. Using this and starting with the current page ID you can loop through the site hierarchy, checking for somesiteelement.objectid = currobject.parentobjectid and pushing each successive parent's Description and startURL into a structure or array until you reach the site object or a parentObjectID of 0. You can run a cfa_siteModelTraverse to get a local structure containing all the site elements, or set up a server scope readonly lock and access the cached site model directly. Once you've built the structure as you move up the site hierarchy, storing the Description and startURL properties for each consecutive parent element, loop back over that in reverse order to output your cookie trail of links. It's handy to move this all into a custom tag - pass in the current pageID and let it run.
Cheers, Seth Date: Tue, 9 Oct 2001 14:00:46 -0500 From: "Thomas Jorgensen" <[EMAIL PROTECTED]> Subject: Site Object Model Message-ID: <[EMAIL PROTECTED]> Does anyone have any experience with the site object model? More specifically: 1. we need to be able to create section on the fly using custom create handlers that do not operate through the webtop. 2. we are looking for a way to construct breadcrumb trails using the sections and pages in the site object model. Does anyone have any thoughts or experience that they could share? Regards, ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
