Archive of UserLand's first discussion group, started October 5, 1998.
Re: Hiding pages from 'outLineSite'
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 bundle
bundle //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
continue
add another condition like
if html.getOneDirective (yourDirectiveName, adrsubitem^) == "false" //meaning don't include
continue
I 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:
This page was archived on 6/13/2001; 4:49:59 PM.
© Copyright 1998-2001 UserLand Software, Inc.