Categories do not show up on search form (XSL transform)

Post Reply
michel.weber
Posts: 256
Joined: Sat Oct 08, 2005 12:40 pm

Categories do not show up on search form (XSL transform)

Post by michel.weber »

2 bugs with categories :
1. Categories do not show up on empty search form.

Once a search has been performed they show up.

2. Categories box is displayed even if there are no visible categories.

Once a search has been performed the box always stays visible.

This bug seems to have appeared in V7 ((Verified in V7.0.3 and V7.0.4
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Categories do not show up on search form (XSL transform)

Post by jason112 »

issue 1 - this has already been fixed internally and will be part of the next release (which should be soon).

issue 2 - I see what you're describing, looks like it applies to both HTML & XSL results. It's now been logged in our tracking system, and will be fixed in a future release.

In the meantime, here's an XSL workaround for problem #2. In the XSL, find the source that looks like

<xsl:if test="Category!='NULL'">
<SELECT NAME="cq">

and change it to

<xsl:if test="Category[CatVisible='Y' and CatName!='Everything']">
<SELECT NAME="cq">

This changes the test so it will only print the select box if there's a category such that its visible and its name isn't "everything".
michel.weber
Posts: 256
Joined: Sat Oct 08, 2005 12:40 pm

Categories do not show up on search form (XSL transform)

Post by michel.weber »

Thanks
Post Reply