Issue 18009

Nested pages

18009
Reporter: hoefft
Assignee: mblissett
Type: NewFeature
Summary: Nested pages
Priority: Major
Resolution: Fixed
Status: Resolved
Created: 2015-11-03 10:49:28.072
Updated: 2016-09-08 14:28:18.007
Resolved: 2016-09-08 14:28:17.982
        
Description: Currently pages are not nested. This has the benefit of simplifying navigation.
When an item has both content and children it is confusing navigating directly to either children or parent.

So currently only leafs, bottom items exists. But we could introduce parent items. In these cases the parent page will just have to display the children itself. We could then introduce different ways to display children. Either as links or as inline. That way it could serve as a structured list of items, allowing more detailed styling.]]>
    


Author: hoefft
Created: 2016-08-08 16:17:22.566
Updated: 2016-08-08 16:17:22.566
        
Currently we ignore parent without content, but the server returns a default folder view. It should return a 404 in these cases.
[~mblissett] is that something that you can easily fix?

That is avoiding this: http://bid.gbif.org/en/about/
    


Author: mblissett
Created: 2016-09-08 14:19:28.465
Updated: 2016-09-08 14:19:39.968
        
I can very easily return a 403: http://bid.gbif-uat.org/en/about/ Is that OK?

That uses "Options -Indexes", and is the normal Apache way of doing things. Overriding it to return a 404 seems a bit of a fiddle.

I've also added "ErrorDocument 403 /custom_403.html" so you can add a custom page for it, like the Dodo.  (A tiger? Frilled lizard?)
    


Author: mblissett
Created: 2016-09-08 14:28:18.004
Updated: 2016-09-08 14:28:18.004
        
I've applied it to BID and GB23, for the whole site.

If you do need the directory listing somewhere, I can add it back for particular folders (e.g. /raw ).