forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: [Issue][Rev:10157] Unecessary DISPLAY_PREPREND with breadcrumbs with empty trail link attributes
Date Fri, 23 Apr 2004 12:25:58 GMT
Brian S. Hayes wrote:
> I apologize if this is a known issue in Forrest revision 10157...
> 
> In Forrest revision 10157, the breadcrumb trail has an unnecessary display
> prepend ( '>' character) when bread crumbs are unspecified (trail/link
> attributes set to empty).  This occurs with the default and krysalis skins.
> Also, when the trail/link attributes are not empty, no trail is provided
> (just the '>').
> 
> In looking at the breadcrumb.js source, I would recommend that something
> like 
>    if (crumbs[0][0] == "" and crumbs[0][1] == "") {
>      ...
>    }
> be used to conditionally test if the bread crumb trail should be built. 
> 
> Note that this is not a problem with Forrest 0.5.1.

Ok, thanks for the hint.

In fact we should really move to having it display the path using 
site.xml or the dirs loke now, but using xslt and not javascript...

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message