You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Jann Forrer <ja...@id.unizh.ch> on 2005/07/15 15:55:03 UTC
Hide node in navigation (lenya 1.4-dev)
Hi
The possiblity to hide nodes in the navigation is not yet
implemented in 1.4
http://issues.apache.org/bugzilla/show_bug.cgi?id=31997
I will try to adapt it to 1.4.
In 1.2 I simply added a attribute to the node element during the creation
of a document:
<node id="tutorial" visibleinnav="true">
and I made the respective sitetree classe aware of the new attribute. As
far as I know the sitetree stuff changed quite a bit in 1.4. If this is
true it will not be possible to take a lot of code over :-(
Additionally I made an ant-task in order to change the visibility of an
existing code. This probably has to be implemented as an usecase in 1.4?
Questions:
- Shall I do like in 1.2 i.e add an attribute to the sitetree?
- or has somebody ideas how to implement it in a different way? However
this would mean to add another barrier for migrating to 1.4 or to
add a migration tool for it ........
Jann
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Hide node in navigation (lenya 1.4-dev)
Posted by Andreas Hartmann <an...@apache.org>.
Jann Forrer wrote:
[...]
> Additionally I made an ant-task in order to change the visibility of an
> existing code. This probably has to be implemented as an usecase in 1.4?
Yes
> Questions:
> - Shall I do like in 1.2 i.e add an attribute to the sitetree?
+1
IMO this functionality can be added to the SiteManager service.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org