Project Timeline

Small Changes on the Back-End

created by Matt Pierce on Thursday March 19, 2009 at 12:00 pm

A short update today.  A morning meeting at work got canceled so I have time to throw in something that's been missing and has been irking me for some time.  All of the various flavors of the "GenerateMenu[opt]" functions now support an optional depth parameter that allows the user to control how many levels of the page tree will be displayed.  This feature will allow for some of the more popular design conventions (i.e. displaying all the top-level sections of a site by using "GenerateMenuToParent," selecting one of the top-level pages, set ShowSiblings to true, and set depth to 1 ... good for that global navigation many of us want across the top of our pages).  I plan to make use of this in the next version of the simple website.

return to posts