Skip Navigation

Sign Up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

Links to hidden docs from hidden docs

Hidden docs should have hyperlinks automatically generated for hidden child documents, see the 1.6 and 1.8 hidden docs don't link to other hidden docs thread.

The code that generates the links to showable documents is this in flo/

        # plus we want to hyperlink all the children
        foreach my $child ($document->children_showable)
push @links, {
   class => "mkdoc-name-". $child->name,
    href => $child->uri,
    desc => $child->description,
    expr => $child->title,
    lang => $child->lang,

I guess it needs wrapping in an if that does, if this is a hidden document then link to all child documents irrespective of wheather they are hidden else only link to showable documents.

This will be a bit more complicated for 1.8 because there shouldn't be automatic links to versioned documents…


This document was last modified by Chris Croome on 2005-07-26 06:58:56
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2005 MKDoc Ltd.