Re: how to include the root index.html in the treeview?

Marc Petitmermet <[email protected]> Wed, 10 Oct 2007 12:14:13 +0200
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
On 10. Okt 2007, at 12:07 Uhr, Joachim Schmitz wrote:

> eric casteleijn schrieb:
>> Joachim Schmitz wrote:
>>> Hi,
>>>
>>> I have a silva-site with several subfolders, the subfolders show  
>>> up in
>>> the treeview, but there is no entry for the "Home" index.html.
>>>
>>> How/where do I specify, that the root index is shown in the  
>>> treeview ?
>>
>> I'm not exactly sure I understand what the problem is, but in  
>> general,
>> Silva treats the index.html document (or any other piece of  
>> content that
>> is marked as the default content of the folder) as the default  
>> view of
>> the folder, so that navigating to the folder or the index.html  
>> *in* that
>> folder would have the same result. This is why usually the index.html
>> document does not show up in the navigation.
>>
> I created the "home" document as a Silva document with id "index"  
> in the
> silva root, and wanted that to showup in the Navigation-Tree, as does
> the search link does.
>
> I solved it by making "home" a silva folder, and placing an
> index-document there.

maybe you could have used the link object for this task?

regards,
marc