Archive of UserLand's first discussion group, started October 5, 1998.
Re: Hiding pages from 'outLineSite'
Author: Sam DeVore Posted: 5/10/1999; 12:28:24 PM Topic: Hiding pages from 'outLineSite' Msg #: 5953 (In response to 5952) Prev/Next: 5952 / 5954
Is there any reason why renaming the table entry to start with a # sign doesn't work? That's what I do. Of coarse that keeps them from being rendered at all. You may need to write your own version of outLineSite that looks at a directive that you add to your pages that cause them to be skipped. Take the version in html.data.standardMacros and copy it to user.html.macros or your tools Table In this bundlebundle //we ignore some objects... if name beginswith "#" continue case name defaultname "tools" "data" "testing" "images" "glossary" continue if adrsubitem == adrPageTable^.adrObject //don't include the page being rendered continueadd another condition likeif html.getOneDirective (yourDirectiveName, adrsubitem^) == "false" //meaning don't include continueI haven't tested this but it should work. This is not gonna work yet either gonna take more diggin
There are responses to this message:
- Re: Hiding pages from 'outLineSite', Andrew Herron, 5/10/1999; 4:59:21 PM
This page was archived on 6/13/2001; 4:49:59 PM.
© Copyright 1998-2001 UserLand Software, Inc.