You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@apache.org> on 2004/07/20 12:35:05 UTC
Re: include a document but not show in menu
David Crossley wrote:
> I must be missing it. Would someone show me how to
> include a document in the processing, but not listed
> in the left-hand navigation panel and not have a link
> to it in any other page.
>
> We need to get the "mirrors.html" page generated but
> not linked to. It is an extra page that needs to be
> generated into the home directory.
>
> Tried using cli.xconf to specify a file to be included,
> but that caused errors (will go back and investigate).
>
> Anyway, i found a workaround which adds an invisible
> link in index.html as below.
I was missing it - using the Cocoon cli.xconf incorrectly.
All that is needed to do was to add a <uri> element.
That is the appropriate way to process any additional
non-linked files.
--
David Crossley
Re: include a document but not show in menu
Posted by Clay Leeds <cl...@medata.com>.
On Jul 20, 2004, at 3:35 AM, David Crossley wrote:
> I was missing it - using the Cocoon cli.xconf incorrectly.
> All that is needed to do was to add a <uri> element.
> That is the appropriate way to process any additional
> non-linked files.
Does an example of this exist on the web site? Not just an
explanation, but a clear example :-D. As I understand it, to add a page
that is not linked from the navigation structure:
How do I(tm) add a file/page to a Forrest web site without linking it
from navigation?
1. Add a file to the src/documentation/xdocs/path/example.html
2. In the page which links it, add a URI/link to
src/documentation/xdocs/path/example.html
3. There is no step 3
It might also be nice to be able to add it in such a way, and still
have it linkable from a Site Map (which leads me to the question: Can
Forrest build a Site Map? I don't think I've ever seen one built with
Forrest.)
Cheers,
Web Maestro Clay
Re: include a document but not show in menu
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
David Crossley wrote:
>(hey Thorsten, LOL ... we can use me now to "learn by example".)
>
>
>
Hehe, LOL!
...welcome to the club ;-)
thorsten
--
Thorsten Scherler
Re: include a document but not show in menu
Posted by David Crossley <cr...@apache.org>.
David Crossley wrote:
> David Crossley wrote:
> > I must be missing it. Would someone show me how to
> > include a document in the processing, but not listed
> > in the left-hand navigation panel and not have a link
> > to it in any other page.
> >
> > We need to get the "mirrors.html" page generated but
> > not linked to. It is an extra page that needs to be
> > generated into the home directory.
> >
> > Tried using cli.xconf to specify a file to be included,
> > but that caused errors (will go back and investigate).
> >
> > Anyway, i found a workaround which adds an invisible
> > link in index.html as below.
>
> I was missing it - using the Cocoon cli.xconf incorrectly.
> All that is needed to do was to add a <uri> element.
> That is the appropriate way to process any additional
> non-linked files.
Uh'oh ... i busted the build.
(hey Thorsten, LOL ... we can use me now to "learn by example".)
The addition of the <uri>mirrors.html</uri> to the
main cli.xconf file, means that for every project
that gets built on my system, the default config injects
that uri into their build too.
I should have run 'build test' before commit.
--
David Crossley